public class MetadataField extends Object implements Serializable
| Constructor and Description |
|---|
MetadataField()
Instantiates a new metadata field.
|
MetadataField(String fieldName,
Boolean mandatory)
Instantiates a new metadata field.
|
MetadataField(String fieldName,
Boolean mandatory,
String categoryID)
Instantiates a new metadata field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCategoryFieldQName()
Gets the category field qualified name.
|
String |
getCategoryRef()
Gets the category ref.
|
DataType |
getDataType()
Gets the data type.
|
String |
getDefaultValue()
Gets the default value.
|
String |
getFieldName()
Gets the field name.
|
MetadataGrouping |
getGrouping()
Gets the grouping.
|
Boolean |
getMandatory()
Gets the mandatory.
|
String |
getMaxOccurs()
Gets the max occurs.
|
String |
getNote()
Gets the note.
|
MetadataTagging |
getTagging()
Gets the tagging.
|
MetadataValidator |
getValidator()
Gets the validator.
|
MetadataVocabulary |
getVocabulary()
Gets the vocabulary.
|
void |
setCategoryRefToCategoryId(String categoryID)
Sets the category ref to category id.
|
void |
setDataType(DataType dataType)
Sets the data type.
|
void |
setDefaultValue(String defaultValue)
Sets the default value.
|
void |
setFieldName(String fieldName)
Sets the field name.
|
void |
setGrouping(MetadataGrouping grouping)
Sets the grouping.
|
void |
setMandatory(Boolean mandatory)
Sets the mandatory.
|
void |
setMaxOccurs(String maxOccurs) |
void |
setNote(String note)
Sets the note.
|
void |
setTagging(MetadataTagging tagging)
Sets the tagging.
|
void |
setValidator(MetadataValidator validator)
Sets the validator.
|
void |
setVocabulary(MetadataVocabulary vocabulary)
Sets the vocabulary.
|
String |
toString() |
public MetadataField()
public MetadataField(String fieldName, Boolean mandatory)
fieldName - the field namemandatory - the mandatorypublic String getCategoryRef()
public void setCategoryRefToCategoryId(String categoryID)
categoryID - the new category ref to category idpublic String getCategoryFieldQName()
categoryRef Namespace.Separator} fieldName;
Otherwise returns the fieldNamepublic String getFieldName()
public Boolean getMandatory()
public DataType getDataType()
public String getMaxOccurs()
public void setMaxOccurs(String maxOccurs)
maxOccurs - the maxOccurs to setpublic String getDefaultValue()
public String getNote()
public MetadataVocabulary getVocabulary()
public MetadataValidator getValidator()
public MetadataTagging getTagging()
public MetadataGrouping getGrouping()
public void setFieldName(String fieldName)
fieldName - the fieldName to setpublic void setMandatory(Boolean mandatory)
mandatory - the mandatory to setpublic void setDataType(DataType dataType)
dataType - the dataType to setpublic void setDefaultValue(String defaultValue)
defaultValue - the defaultValue to setpublic void setNote(String note)
note - the note to setpublic void setVocabulary(MetadataVocabulary vocabulary)
vocabulary - the vocabulary to setpublic void setValidator(MetadataValidator validator)
validator - the validator to setpublic void setTagging(MetadataTagging tagging)
tagging - the tagging to setpublic void setGrouping(MetadataGrouping grouping)
grouping - the grouping to setCopyright © 2020. All Rights Reserved.