public class MetadataFieldWrapper extends Object implements Serializable
| Constructor and Description |
|---|
MetadataFieldWrapper()
Instantiates a new metadata field.
|
MetadataFieldWrapper(String fieldName,
Boolean mandatory,
DataTypeWrapper type,
String defaultValue,
String note,
List<String> vocabulary,
String validator,
CategoryWrapper category)
Instantiates a new metadata field.
|
| Modifier and Type | Method and Description |
|---|---|
FieldAsGroup |
getAsGroup()
Gets the as group.
|
FieldAsTag |
getAsTag()
Gets the as tag.
|
String |
getDefaultValue()
Gets the defaul value.
|
String |
getFieldName()
Gets the field name.
|
String |
getFieldNameFromCategory()
Gets the field name from category.
|
Boolean |
getMandatory()
Gets the mandatory.
|
Integer |
getMaxOccurs()
Gets the max occurs.
|
String |
getNote()
Gets the note.
|
CategoryWrapper |
getOwnerCategory()
Gets the owner category.
|
DataTypeWrapper |
getType()
Gets the type.
|
String |
getValidator()
Gets the validator.
|
List<String> |
getVocabulary()
Gets the vocabulary.
|
boolean |
isMultiSelection()
Checks if is multi selection.
|
void |
setAsGroup(FieldAsGroup asGroup)
Sets the as group.
|
void |
setAsTag(FieldAsTag asTag)
Sets the as tag.
|
void |
setDefaultValue(String defaultValue)
Sets the defaul value.
|
void |
setFieldName(String fieldName)
Sets the field name.
|
void |
setFieldNameFromCategory(String fieldNameFromCategory)
Sets the field name from category.
|
void |
setMandatory(Boolean mandatory)
Sets the mandatory.
|
void |
setMaxOccurs(Integer maxOccurs)
Sets the max occurs.
|
void |
setMultiSelection(boolean multiSelection)
Sets the multi selection.
|
void |
setNote(String note)
Sets the note.
|
void |
setOwnerCategory(CategoryWrapper ownerCategory)
Sets the owner category.
|
void |
setType(DataTypeWrapper type)
Sets the type.
|
void |
setValidator(String validator)
Sets the validator.
|
void |
setVocabulary(List<String> vocabulary)
Sets the vocabulary.
|
String |
toString() |
public MetadataFieldWrapper()
public MetadataFieldWrapper(String fieldName, Boolean mandatory, DataTypeWrapper type, String defaultValue, String note, List<String> vocabulary, String validator, CategoryWrapper category)
fieldName - the field namemandatory - the mandatorytype - the typedefaultValue - the default valuenote - the notevocabulary - the vocabularyvalidator - the validatorcategory - the categorypublic Integer getMaxOccurs()
public void setMaxOccurs(Integer maxOccurs)
maxOccurs - the new max occurspublic String getFieldName()
public Boolean getMandatory()
public String getDefaultValue()
public String getNote()
public String getValidator()
public void setFieldName(String fieldName)
fieldName - the fieldName to setpublic void setMandatory(Boolean mandatory)
mandatory - the mandatory to setpublic void setDefaultValue(String defaultValue)
defaultValue - the new default valuepublic void setNote(String note)
note - the note to setpublic void setVocabulary(List<String> vocabulary)
vocabulary - the vocabulary to setpublic void setValidator(String validator)
validator - the validator to setpublic DataTypeWrapper getType()
public void setType(DataTypeWrapper type)
type - the new typepublic boolean isMultiSelection()
public void setMultiSelection(boolean multiSelection)
multiSelection - the new multi selectionpublic CategoryWrapper getOwnerCategory()
public void setOwnerCategory(CategoryWrapper ownerCategory)
ownerCategory - the new owner categorypublic String getFieldNameFromCategory()
public void setFieldNameFromCategory(String fieldNameFromCategory)
fieldNameFromCategory - the new field name from categorypublic FieldAsGroup getAsGroup()
public void setAsGroup(FieldAsGroup asGroup)
asGroup - the new as grouppublic FieldAsTag getAsTag()
public void setAsTag(FieldAsTag asTag)
asTag - the new as tagCopyright © 2019. All Rights Reserved.