@Beta public abstract class InputType extends Object
Modifier | Constructor and Description |
---|---|
protected |
InputType() |
protected |
InputType(Class configClass,
boolean requiresConfig) |
Modifier and Type | Method and Description |
---|---|
abstract void |
checkBreaksRequiredContract(Property property) |
abstract void |
checkTypeValidity(Property property) |
abstract Value |
createPropertyValue(String value,
InputTypeConfig config) |
boolean |
equals(Object o) |
InputTypeConfig |
getDefaultConfig() |
AbstractInputTypeConfigJsonSerializer |
getInputTypeConfigJsonSerializer() |
AbstractInputTypeConfigXmlSerializer |
getInputTypeConfigXmlSerializer() |
String |
getName() |
boolean |
hasConfig() |
int |
hashCode() |
Class |
requiredConfigClass() |
boolean |
requiresConfig() |
String |
toString() |
void |
validateOccurrences(Occurrences occurrences)
Override this method to validate what type of Occurrences is allowed for this type.
|
protected InputType()
protected InputType(Class configClass, boolean requiresConfig)
public String getName()
public final boolean requiresConfig()
public final boolean hasConfig()
public final Class requiredConfigClass()
public AbstractInputTypeConfigJsonSerializer getInputTypeConfigJsonSerializer()
public AbstractInputTypeConfigXmlSerializer getInputTypeConfigXmlSerializer()
public abstract void checkBreaksRequiredContract(Property property)
public abstract void checkTypeValidity(Property property)
public InputTypeConfig getDefaultConfig()
public void validateOccurrences(Occurrences occurrences)
public abstract Value createPropertyValue(String value, InputTypeConfig config)