public class MetadataFieldWrapper extends Object implements Serializable
| Constructor and Description |
|---|
MetadataFieldWrapper()
Instantiates a new metadata field.
|
MetadataFieldWrapper(String fieldName,
Boolean mandatory,
DataType type,
String defaultValue,
String note,
List<String> vocabulary,
String validator)
Instantiates a new metadata field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Gets the defaul value.
|
String |
getFieldName()
Gets the field name.
|
Boolean |
getMandatory()
Gets the mandatory.
|
String |
getNote()
Gets the note.
|
DataType |
getType() |
String |
getValidator()
Gets the validator.
|
List<String> |
getVocabulary()
Gets the vocabulary.
|
boolean |
isMultiSelection() |
void |
setDefaultValue(String defaultValue)
Sets the defaul value.
|
void |
setFieldName(String fieldName)
Sets the field name.
|
void |
setMandatory(Boolean mandatory)
Sets the mandatory.
|
void |
setMultiSelection(boolean multiSelection) |
void |
setNote(String note)
Sets the note.
|
void |
setType(DataType 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, DataType type, String defaultValue, String note, List<String> vocabulary, String validator)
fieldName - the field namemandatory - the mandatoryDataType - the typedefaulValue - the defaul valuenote - the notevocabulary - the vocabularyvalidator - the validatorpublic 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)
defaulValue - the defaulValue to setpublic 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 DataType getType()
public void setType(DataType type)
public boolean isMultiSelection()
public void setMultiSelection(boolean multiSelection)
Copyright © 2016. All Rights Reserved.