edu.stanford.protege.webprotege.forms.data.FormControlData Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.forms.data;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 2019-11-30
*/
@JsonSubTypes({@Type(EntityNameControlData.class), @Type(FormData.class), @Type(GridControlData.class), @Type(ImageControlData.class), @Type(MultiChoiceControlData.class), @Type(NumberControlData.class), @Type(SingleChoiceControlData.class), @Type(TextControlData.class)})
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME)
public interface FormControlData {
R accept(@Nonnull FormControlDataVisitorEx visitor);
void accept(@Nonnull FormControlDataVisitor visitor);
}