public class MetadataFieldType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals
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"/> <element name="constraint" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="dataset" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="levelProperty" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="levelValue" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="validationGroup" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType> </element> <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="longRestriction" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldLongType"/> <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 | Class and Description |
---|---|
static class |
MetadataFieldType.Constraint
Java class for anonymous complex type.
|
static class |
MetadataFieldType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected MetadataFieldType.Constraint |
constraint |
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 MetadataFieldLongType |
longRestriction |
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() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
MetadataFieldType.Constraint |
getConstraint()
Gets the value of the constraint property.
|
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.
|
MetadataFieldLongType |
getLongRestriction()
Gets the value of the longRestriction 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 |
isSetConstraint() |
boolean |
isSetData() |
boolean |
isSetDefaultValue() |
boolean |
isSetExternalId() |
boolean |
isSetFloatRestriction() |
boolean |
isSetFullText() |
boolean |
isSetIndex() |
boolean |
isSetInheritance() |
boolean |
isSetIntegerRestriction() |
boolean |
isSetLongRestriction() |
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 |
setConstraint(MetadataFieldType.Constraint value)
Sets the value of the constraint 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 |
setLongRestriction(MetadataFieldLongType value)
Sets the value of the longRestriction 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 |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
MetadataFieldType |
withConstraint(MetadataFieldType.Constraint value) |
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 |
withLongRestriction(MetadataFieldLongType 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 MetadataFieldType.Constraint constraint
protected MetadataFieldFloatType floatRestriction
protected MetadataFieldIntegerType integerRestriction
protected MetadataFieldLongType longRestriction
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 MetadataFieldType.Constraint getConstraint()
MetadataFieldType.Constraint
public void setConstraint(MetadataFieldType.Constraint value)
value
- allowed object is
MetadataFieldType.Constraint
public boolean isSetConstraint()
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 MetadataFieldLongType getLongRestriction()
MetadataFieldLongType
public void setLongRestriction(MetadataFieldLongType value)
value
- allowed object is
MetadataFieldLongType
public boolean isSetLongRestriction()
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
public 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 withConstraint(MetadataFieldType.Constraint value)
public MetadataFieldType withFloatRestriction(MetadataFieldFloatType value)
public MetadataFieldType withIntegerRestriction(MetadataFieldIntegerType value)
public MetadataFieldType withLongRestriction(MetadataFieldLongType 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)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public MetadataFieldType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2018. All rights reserved.