public class MetadataFieldType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for MetadataFieldType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataFieldType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="schema" type="{http://xml.vidispine.com/schema/vidispine}MetadataSchemaElementType" minOccurs="0"/> <element name="type" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldTypeType" minOccurs="0"/> <element name="index" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldIndexType" minOccurs="0"/> <element name="fullText" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <choice minOccurs="0"> <element name="floatRestriction" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldFloatType"/> <element name="integerRestriction" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldIntegerType"/> <element name="stringRestriction" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldStringType"/> </choice> <element name="data" type="{http://xml.vidispine.com/schema/vidispine}KeyValuePairType" maxOccurs="unbounded" minOccurs="0"/> <element name="values" type="{http://xml.vidispine.com/schema/vidispine}SimpleMetadataType" minOccurs="0"/> <element name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="origin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="system" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="sortable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="inheritance" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<KeyValuePairType> |
data |
protected String |
defaultValue |
protected List<String> |
externalId |
protected MetadataFieldFloatType |
floatRestriction |
protected Boolean |
fullText |
protected MetadataFieldIndexType |
index |
protected String |
inheritance |
protected MetadataFieldIntegerType |
integerRestriction |
protected String |
name |
protected String |
origin |
protected MetadataSchemaElementType |
schema |
protected Boolean |
sortable |
protected MetadataFieldStringType |
stringRestriction |
protected String |
system |
protected MetadataFieldTypeType |
type |
protected SimpleMetadataType |
values |
Constructor and Description |
---|
MetadataFieldType() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
List<KeyValuePairType> |
getData()
Gets the value of the data property.
|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
List<String> |
getExternalId()
Gets the value of the externalId property.
|
MetadataFieldFloatType |
getFloatRestriction()
Gets the value of the floatRestriction property.
|
MetadataFieldIndexType |
getIndex()
Gets the value of the index property.
|
String |
getInheritance()
Gets the value of the inheritance property.
|
MetadataFieldIntegerType |
getIntegerRestriction()
Gets the value of the integerRestriction property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOrigin()
Gets the value of the origin property.
|
MetadataSchemaElementType |
getSchema()
Gets the value of the schema property.
|
MetadataFieldStringType |
getStringRestriction()
Gets the value of the stringRestriction property.
|
String |
getSystem()
Gets the value of the system property.
|
MetadataFieldTypeType |
getType()
Gets the value of the type property.
|
SimpleMetadataType |
getValues()
Gets the value of the values property.
|
Boolean |
isFullText()
Gets the value of the fullText property.
|
boolean |
isSetData() |
boolean |
isSetDefaultValue() |
boolean |
isSetExternalId() |
boolean |
isSetFloatRestriction() |
boolean |
isSetFullText() |
boolean |
isSetIndex() |
boolean |
isSetInheritance() |
boolean |
isSetIntegerRestriction() |
boolean |
isSetName() |
boolean |
isSetOrigin() |
boolean |
isSetSchema() |
boolean |
isSetSortable() |
boolean |
isSetStringRestriction() |
boolean |
isSetSystem() |
boolean |
isSetType() |
boolean |
isSetValues() |
boolean |
isSortable()
Gets the value of the sortable property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setFloatRestriction(MetadataFieldFloatType value)
Sets the value of the floatRestriction property.
|
void |
setFullText(Boolean value)
Sets the value of the fullText property.
|
void |
setIndex(MetadataFieldIndexType value)
Sets the value of the index property.
|
void |
setInheritance(String value)
Sets the value of the inheritance property.
|
void |
setIntegerRestriction(MetadataFieldIntegerType value)
Sets the value of the integerRestriction property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrigin(String value)
Sets the value of the origin property.
|
void |
setSchema(MetadataSchemaElementType value)
Sets the value of the schema property.
|
void |
setSortable(boolean value)
Sets the value of the sortable property.
|
void |
setStringRestriction(MetadataFieldStringType value)
Sets the value of the stringRestriction property.
|
void |
setSystem(String value)
Sets the value of the system property.
|
void |
setType(MetadataFieldTypeType value)
Sets the value of the type property.
|
void |
setValues(SimpleMetadataType value)
Sets the value of the values property.
|
void |
unsetData() |
void |
unsetExternalId() |
void |
unsetSortable() |
protected String name
protected MetadataSchemaElementType schema
protected MetadataFieldTypeType type
protected MetadataFieldIndexType index
protected Boolean fullText
protected MetadataFieldFloatType floatRestriction
protected MetadataFieldIntegerType integerRestriction
protected MetadataFieldStringType stringRestriction
protected List<KeyValuePairType> data
protected SimpleMetadataType values
protected String defaultValue
protected String origin
protected String system
protected Boolean sortable
protected String inheritance
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public boolean isSetName()
public MetadataSchemaElementType getSchema()
MetadataSchemaElementType
public void setSchema(MetadataSchemaElementType value)
value
- allowed object is
MetadataSchemaElementType
public boolean isSetSchema()
public MetadataFieldTypeType getType()
MetadataFieldTypeType
public void setType(MetadataFieldTypeType value)
value
- allowed object is
MetadataFieldTypeType
public boolean isSetType()
public MetadataFieldIndexType getIndex()
MetadataFieldIndexType
public void setIndex(MetadataFieldIndexType value)
value
- allowed object is
MetadataFieldIndexType
public boolean isSetIndex()
public Boolean isFullText()
Boolean
public void setFullText(Boolean value)
value
- allowed object is
Boolean
public boolean isSetFullText()
public MetadataFieldFloatType getFloatRestriction()
MetadataFieldFloatType
public void setFloatRestriction(MetadataFieldFloatType value)
value
- allowed object is
MetadataFieldFloatType
public boolean isSetFloatRestriction()
public MetadataFieldIntegerType getIntegerRestriction()
MetadataFieldIntegerType
public void setIntegerRestriction(MetadataFieldIntegerType value)
value
- allowed object is
MetadataFieldIntegerType
public boolean isSetIntegerRestriction()
public MetadataFieldStringType getStringRestriction()
MetadataFieldStringType
public void setStringRestriction(MetadataFieldStringType value)
value
- allowed object is
MetadataFieldStringType
public boolean isSetStringRestriction()
public List<KeyValuePairType> getData()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the data property.
For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValuePairType
public boolean isSetData()
public void unsetData()
public SimpleMetadataType getValues()
SimpleMetadataType
public void setValues(SimpleMetadataType value)
value
- allowed object is
SimpleMetadataType
public boolean isSetValues()
public String getDefaultValue()
String
public void setDefaultValue(String value)
value
- allowed object is
String
public boolean isSetDefaultValue()
public List<String> getExternalId()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the externalId property.
For example, to add a new item, do as follows:
getExternalId().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetExternalId()
public void unsetExternalId()
public String getOrigin()
String
public void setOrigin(String value)
value
- allowed object is
String
public boolean isSetOrigin()
public String getSystem()
String
public void setSystem(String value)
value
- allowed object is
String
public boolean isSetSystem()
public boolean isSortable()
Boolean
public void setSortable(boolean value)
value
- allowed object is
Boolean
public boolean isSetSortable()
public void unsetSortable()
public String getInheritance()
String
public void setInheritance(String value)
value
- allowed object is
String
public boolean isSetInheritance()
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
Copyright © 2015. All rights reserved.