public class Field
extends java.lang.Object
Constructor and Description |
---|
Field(FieldType fieldType,
boolean required,
ContentMap fieldConfiguration,
java.lang.String name,
boolean indexed) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertSubmission(java.lang.Object object,
Content content) |
ContentMap |
getFieldConfiguration() |
FieldType |
getFieldType() |
java.lang.String |
getName() |
boolean |
isIndexed() |
boolean |
isRequired() |
boolean |
validateSubmission(java.lang.Object object,
java.util.Collection<java.lang.String> errors) |
public Field(FieldType fieldType, boolean required, ContentMap fieldConfiguration, java.lang.String name, boolean indexed)
public boolean isRequired()
public java.lang.String getName()
public boolean validateSubmission(java.lang.Object object, java.util.Collection<java.lang.String> errors)
public boolean isIndexed()
public java.lang.Object convertSubmission(java.lang.Object object, Content content)
public ContentMap getFieldConfiguration()
public FieldType getFieldType()