Interface Field
public interface Field
Captures field meta-data including id, type, etc.
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
Optional description of the fieldFieldId
getId()
Unique identifier for the fieldFieldType
getType()
Identifies the field's data typeboolean
isHidden()
Returns true if this is a hidden field, false otherwiseboolean
isOptional()
Returns true if this is an optional field, false otherwisevoid
setDescription(java.lang.String description)
Sets the optional description of the fieldvoid
setHidden(boolean isHidden)
Sets the hidden flag on the fieldvoid
setId(FieldId fieldId)
Sets the unique identifier for the fieldvoid
setOptional(boolean isOptional)
Sets the optional flag on the fieldvoid
setType(FieldType type)
Sets the field's data type
-
Method Details
-
getId
FieldId getId()Unique identifier for the field -
setId
Sets the unique identifier for the field -
getType
FieldType getType()Identifies the field's data type -
setType
Sets the field's data type -
getDescription
java.lang.String getDescription()Optional description of the field -
setDescription
void setDescription(java.lang.String description)Sets the optional description of the field -
isOptional
boolean isOptional()Returns true if this is an optional field, false otherwise -
isHidden
boolean isHidden()Returns true if this is a hidden field, false otherwise -
setHidden
void setHidden(boolean isHidden)Sets the hidden flag on the field -
setOptional
void setOptional(boolean isOptional)Sets the optional flag on the field
-