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() |
MetadataFieldType |
withData(Collection<KeyValuePairType> values) |
MetadataFieldType |
withData(KeyValuePairType... values) |
MetadataFieldType |
withDefaultValue(String value) |
MetadataFieldType |
withExternalId(Collection<String> values) |
MetadataFieldType |
withExternalId(String... values) |
MetadataFieldType |
withFloatRestriction(MetadataFieldFloatType value) |
MetadataFieldType |
withFullText(Boolean value) |
MetadataFieldType |
withIndex(MetadataFieldIndexType value) |
MetadataFieldType |
withInheritance(String value) |
MetadataFieldType |
withIntegerRestriction(MetadataFieldIntegerType value) |
MetadataFieldType |
withName(String value) |
MetadataFieldType |
withOrigin(String value) |
MetadataFieldType |
withSchema(MetadataSchemaElementType value) |
MetadataFieldType |
withSortable(boolean value) |
MetadataFieldType |
withStringRestriction(MetadataFieldStringType value) |
MetadataFieldType |
withSystem(String value) |
MetadataFieldType |
withType(MetadataFieldTypeType value) |
MetadataFieldType |
withValues(SimpleMetadataType value) |
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()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public MetadataSchemaElementType getSchema()
MetadataSchemaElementTypepublic void setSchema(MetadataSchemaElementType value)
value - allowed object is
MetadataSchemaElementTypepublic boolean isSetSchema()
public MetadataFieldTypeType getType()
MetadataFieldTypeTypepublic void setType(MetadataFieldTypeType value)
value - allowed object is
MetadataFieldTypeTypepublic boolean isSetType()
public MetadataFieldIndexType getIndex()
MetadataFieldIndexTypepublic void setIndex(MetadataFieldIndexType value)
value - allowed object is
MetadataFieldIndexTypepublic boolean isSetIndex()
public Boolean isFullText()
Booleanpublic void setFullText(Boolean value)
value - allowed object is
Booleanpublic boolean isSetFullText()
public MetadataFieldFloatType getFloatRestriction()
MetadataFieldFloatTypepublic void setFloatRestriction(MetadataFieldFloatType value)
value - allowed object is
MetadataFieldFloatTypepublic boolean isSetFloatRestriction()
public MetadataFieldIntegerType getIntegerRestriction()
MetadataFieldIntegerTypepublic void setIntegerRestriction(MetadataFieldIntegerType value)
value - allowed object is
MetadataFieldIntegerTypepublic boolean isSetIntegerRestriction()
public MetadataFieldStringType getStringRestriction()
MetadataFieldStringTypepublic void setStringRestriction(MetadataFieldStringType value)
value - allowed object is
MetadataFieldStringTypepublic 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()
SimpleMetadataTypepublic void setValues(SimpleMetadataType value)
value - allowed object is
SimpleMetadataTypepublic boolean isSetValues()
public String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic 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()
Stringpublic void setOrigin(String value)
value - allowed object is
Stringpublic boolean isSetOrigin()
public String getSystem()
Stringpublic void setSystem(String value)
value - allowed object is
Stringpublic boolean isSetSystem()
public boolean isSortable()
Booleanpublic void setSortable(boolean value)
value - allowed object is
Booleanpublic boolean isSetSortable()
public void unsetSortable()
public String getInheritance()
Stringpublic void setInheritance(String value)
value - allowed object is
Stringpublic boolean isSetInheritance()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic 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.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic MetadataFieldType withName(String value)
public MetadataFieldType withSchema(MetadataSchemaElementType value)
public MetadataFieldType withType(MetadataFieldTypeType value)
public MetadataFieldType withIndex(MetadataFieldIndexType value)
public MetadataFieldType withFullText(Boolean value)
public MetadataFieldType withFloatRestriction(MetadataFieldFloatType value)
public MetadataFieldType withIntegerRestriction(MetadataFieldIntegerType value)
public MetadataFieldType withStringRestriction(MetadataFieldStringType value)
public MetadataFieldType withData(KeyValuePairType... values)
public MetadataFieldType withData(Collection<KeyValuePairType> values)
public MetadataFieldType withValues(SimpleMetadataType value)
public MetadataFieldType withDefaultValue(String value)
public MetadataFieldType withExternalId(String... values)
public MetadataFieldType withExternalId(Collection<String> values)
public MetadataFieldType withOrigin(String value)
public MetadataFieldType withSystem(String value)
public MetadataFieldType withSortable(boolean value)
public MetadataFieldType withInheritance(String value)
Copyright © 2015. All rights reserved.