Class MetadataFieldType
- java.lang.Object
-
- com.vidispine.generated.MetadataFieldType
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class MetadataFieldType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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="caseSensitiveSorting" 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"/> <choice> <element name="validationGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="parent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </choice> </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"/> <element name="boost" type="{http://www.w3.org/2001/XMLSchema}float" 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>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetadataFieldType.ConstraintJava class for anonymous complex type.static classMetadataFieldType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected Floatboostprotected BooleancaseSensitiveSortingprotected MetadataFieldType.Constraintconstraintprotected List<KeyValuePairType>dataprotected StringdefaultValueprotected List<String>externalIdprotected MetadataFieldFloatTypefloatRestrictionprotected BooleanfullTextprotected MetadataFieldIndexTypeindexprotected Stringinheritanceprotected MetadataFieldIntegerTypeintegerRestrictionprotected MetadataFieldLongTypelongRestrictionprotected Stringnameprotected Stringoriginprotected MetadataSchemaElementTypeschemaprotected Booleansortableprotected MetadataFieldStringTypestringRestrictionprotected Stringsystemprotected MetadataFieldTypeTypetypeprotected SimpleMetadataTypevalues
-
Constructor Summary
Constructors Constructor Description MetadataFieldType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)FloatgetBoost()Gets the value of the boost property.MetadataFieldType.ConstraintgetConstraint()Gets the value of the constraint property.List<KeyValuePairType>getData()Gets the value of the data property.StringgetDefaultValue()Gets the value of the defaultValue property.List<String>getExternalId()Gets the value of the externalId property.MetadataFieldFloatTypegetFloatRestriction()Gets the value of the floatRestriction property.MetadataFieldIndexTypegetIndex()Gets the value of the index property.StringgetInheritance()Gets the value of the inheritance property.MetadataFieldIntegerTypegetIntegerRestriction()Gets the value of the integerRestriction property.MetadataFieldLongTypegetLongRestriction()Gets the value of the longRestriction property.StringgetName()Gets the value of the name property.StringgetOrigin()Gets the value of the origin property.MetadataSchemaElementTypegetSchema()Gets the value of the schema property.MetadataFieldStringTypegetStringRestriction()Gets the value of the stringRestriction property.StringgetSystem()Gets the value of the system property.MetadataFieldTypeTypegetType()Gets the value of the type property.SimpleMetadataTypegetValues()Gets the value of the values property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)BooleanisCaseSensitiveSorting()Gets the value of the caseSensitiveSorting property.BooleanisFullText()Gets the value of the fullText property.booleanisSetBoost()booleanisSetCaseSensitiveSorting()booleanisSetConstraint()booleanisSetData()booleanisSetDefaultValue()booleanisSetExternalId()booleanisSetFloatRestriction()booleanisSetFullText()booleanisSetIndex()booleanisSetInheritance()booleanisSetIntegerRestriction()booleanisSetLongRestriction()booleanisSetName()booleanisSetOrigin()booleanisSetSchema()booleanisSetSortable()booleanisSetStringRestriction()booleanisSetSystem()booleanisSetType()booleanisSetValues()booleanisSortable()Gets the value of the sortable property.voidsetBoost(Float value)Sets the value of the boost property.voidsetCaseSensitiveSorting(Boolean value)Sets the value of the caseSensitiveSorting property.voidsetConstraint(MetadataFieldType.Constraint value)Sets the value of the constraint property.voidsetDefaultValue(String value)Sets the value of the defaultValue property.voidsetFloatRestriction(MetadataFieldFloatType value)Sets the value of the floatRestriction property.voidsetFullText(Boolean value)Sets the value of the fullText property.voidsetIndex(MetadataFieldIndexType value)Sets the value of the index property.voidsetInheritance(String value)Sets the value of the inheritance property.voidsetIntegerRestriction(MetadataFieldIntegerType value)Sets the value of the integerRestriction property.voidsetLongRestriction(MetadataFieldLongType value)Sets the value of the longRestriction property.voidsetName(String value)Sets the value of the name property.voidsetOrigin(String value)Sets the value of the origin property.voidsetSchema(MetadataSchemaElementType value)Sets the value of the schema property.voidsetSortable(boolean value)Sets the value of the sortable property.voidsetStringRestriction(MetadataFieldStringType value)Sets the value of the stringRestriction property.voidsetSystem(String value)Sets the value of the system property.voidsetType(MetadataFieldTypeType value)Sets the value of the type property.voidsetValues(SimpleMetadataType value)Sets the value of the values property.voidunsetData()voidunsetExternalId()voidunsetSortable()MetadataFieldTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)MetadataFieldTypewithBoost(Float value)MetadataFieldTypewithCaseSensitiveSorting(Boolean value)MetadataFieldTypewithConstraint(MetadataFieldType.Constraint value)MetadataFieldTypewithData(KeyValuePairType... values)MetadataFieldTypewithData(Collection<KeyValuePairType> values)MetadataFieldTypewithDefaultValue(String value)MetadataFieldTypewithExternalId(String... values)MetadataFieldTypewithExternalId(Collection<String> values)MetadataFieldTypewithFloatRestriction(MetadataFieldFloatType value)MetadataFieldTypewithFullText(Boolean value)MetadataFieldTypewithIndex(MetadataFieldIndexType value)MetadataFieldTypewithInheritance(String value)MetadataFieldTypewithIntegerRestriction(MetadataFieldIntegerType value)MetadataFieldTypewithLongRestriction(MetadataFieldLongType value)MetadataFieldTypewithName(String value)MetadataFieldTypewithOrigin(String value)MetadataFieldTypewithSchema(MetadataSchemaElementType value)MetadataFieldTypewithSortable(boolean value)MetadataFieldTypewithStringRestriction(MetadataFieldStringType value)MetadataFieldTypewithSystem(String value)MetadataFieldTypewithType(MetadataFieldTypeType value)MetadataFieldTypewithValues(SimpleMetadataType value)
-
-
-
Field Detail
-
name
protected String name
-
schema
protected MetadataSchemaElementType schema
-
type
protected MetadataFieldTypeType type
-
index
protected MetadataFieldIndexType index
-
fullText
protected Boolean fullText
-
caseSensitiveSorting
protected Boolean caseSensitiveSorting
-
constraint
protected MetadataFieldType.Constraint constraint
-
floatRestriction
protected MetadataFieldFloatType floatRestriction
-
integerRestriction
protected MetadataFieldIntegerType integerRestriction
-
longRestriction
protected MetadataFieldLongType longRestriction
-
stringRestriction
protected MetadataFieldStringType stringRestriction
-
data
protected List<KeyValuePairType> data
-
values
protected SimpleMetadataType values
-
defaultValue
protected String defaultValue
-
origin
protected String origin
-
boost
protected Float boost
-
system
protected String system
-
sortable
protected Boolean sortable
-
inheritance
protected String inheritance
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isSetName
public boolean isSetName()
-
getSchema
public MetadataSchemaElementType getSchema()
Gets the value of the schema property.- Returns:
- possible object is
MetadataSchemaElementType
-
setSchema
public void setSchema(MetadataSchemaElementType value)
Sets the value of the schema property.- Parameters:
value- allowed object isMetadataSchemaElementType
-
isSetSchema
public boolean isSetSchema()
-
getType
public MetadataFieldTypeType getType()
Gets the value of the type property.- Returns:
- possible object is
MetadataFieldTypeType
-
setType
public void setType(MetadataFieldTypeType value)
Sets the value of the type property.- Parameters:
value- allowed object isMetadataFieldTypeType
-
isSetType
public boolean isSetType()
-
getIndex
public MetadataFieldIndexType getIndex()
Gets the value of the index property.- Returns:
- possible object is
MetadataFieldIndexType
-
setIndex
public void setIndex(MetadataFieldIndexType value)
Sets the value of the index property.- Parameters:
value- allowed object isMetadataFieldIndexType
-
isSetIndex
public boolean isSetIndex()
-
isFullText
public Boolean isFullText()
Gets the value of the fullText property.- Returns:
- possible object is
Boolean
-
setFullText
public void setFullText(Boolean value)
Sets the value of the fullText property.- Parameters:
value- allowed object isBoolean
-
isSetFullText
public boolean isSetFullText()
-
isCaseSensitiveSorting
public Boolean isCaseSensitiveSorting()
Gets the value of the caseSensitiveSorting property.- Returns:
- possible object is
Boolean
-
setCaseSensitiveSorting
public void setCaseSensitiveSorting(Boolean value)
Sets the value of the caseSensitiveSorting property.- Parameters:
value- allowed object isBoolean
-
isSetCaseSensitiveSorting
public boolean isSetCaseSensitiveSorting()
-
getConstraint
public MetadataFieldType.Constraint getConstraint()
Gets the value of the constraint property.- Returns:
- possible object is
MetadataFieldType.Constraint
-
setConstraint
public void setConstraint(MetadataFieldType.Constraint value)
Sets the value of the constraint property.- Parameters:
value- allowed object isMetadataFieldType.Constraint
-
isSetConstraint
public boolean isSetConstraint()
-
getFloatRestriction
public MetadataFieldFloatType getFloatRestriction()
Gets the value of the floatRestriction property.- Returns:
- possible object is
MetadataFieldFloatType
-
setFloatRestriction
public void setFloatRestriction(MetadataFieldFloatType value)
Sets the value of the floatRestriction property.- Parameters:
value- allowed object isMetadataFieldFloatType
-
isSetFloatRestriction
public boolean isSetFloatRestriction()
-
getIntegerRestriction
public MetadataFieldIntegerType getIntegerRestriction()
Gets the value of the integerRestriction property.- Returns:
- possible object is
MetadataFieldIntegerType
-
setIntegerRestriction
public void setIntegerRestriction(MetadataFieldIntegerType value)
Sets the value of the integerRestriction property.- Parameters:
value- allowed object isMetadataFieldIntegerType
-
isSetIntegerRestriction
public boolean isSetIntegerRestriction()
-
getLongRestriction
public MetadataFieldLongType getLongRestriction()
Gets the value of the longRestriction property.- Returns:
- possible object is
MetadataFieldLongType
-
setLongRestriction
public void setLongRestriction(MetadataFieldLongType value)
Sets the value of the longRestriction property.- Parameters:
value- allowed object isMetadataFieldLongType
-
isSetLongRestriction
public boolean isSetLongRestriction()
-
getStringRestriction
public MetadataFieldStringType getStringRestriction()
Gets the value of the stringRestriction property.- Returns:
- possible object is
MetadataFieldStringType
-
setStringRestriction
public void setStringRestriction(MetadataFieldStringType value)
Sets the value of the stringRestriction property.- Parameters:
value- allowed object isMetadataFieldStringType
-
isSetStringRestriction
public boolean isSetStringRestriction()
-
getData
public List<KeyValuePairType> getData()
Gets the value of the data property.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
setmethod 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
-
isSetData
public boolean isSetData()
-
unsetData
public void unsetData()
-
getValues
public SimpleMetadataType getValues()
Gets the value of the values property.- Returns:
- possible object is
SimpleMetadataType
-
setValues
public void setValues(SimpleMetadataType value)
Sets the value of the values property.- Parameters:
value- allowed object isSimpleMetadataType
-
isSetValues
public boolean isSetValues()
-
getDefaultValue
public String getDefaultValue()
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
public void setDefaultValue(String value)
Sets the value of the defaultValue property.- Parameters:
value- allowed object isString
-
isSetDefaultValue
public boolean isSetDefaultValue()
-
getExternalId
public List<String> getExternalId()
Gets the value of the externalId property.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
setmethod 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
-
isSetExternalId
public boolean isSetExternalId()
-
unsetExternalId
public void unsetExternalId()
-
getOrigin
public String getOrigin()
Gets the value of the origin property.- Returns:
- possible object is
String
-
setOrigin
public void setOrigin(String value)
Sets the value of the origin property.- Parameters:
value- allowed object isString
-
isSetOrigin
public boolean isSetOrigin()
-
getBoost
public Float getBoost()
Gets the value of the boost property.- Returns:
- possible object is
Float
-
setBoost
public void setBoost(Float value)
Sets the value of the boost property.- Parameters:
value- allowed object isFloat
-
isSetBoost
public boolean isSetBoost()
-
getSystem
public String getSystem()
Gets the value of the system property.- Returns:
- possible object is
String
-
setSystem
public void setSystem(String value)
Sets the value of the system property.- Parameters:
value- allowed object isString
-
isSetSystem
public boolean isSetSystem()
-
isSortable
public boolean isSortable()
Gets the value of the sortable property.- Returns:
- possible object is
Boolean
-
setSortable
public void setSortable(boolean value)
Sets the value of the sortable property.- Parameters:
value- allowed object isBoolean
-
isSetSortable
public boolean isSetSortable()
-
unsetSortable
public void unsetSortable()
-
getInheritance
public String getInheritance()
Gets the value of the inheritance property.- Returns:
- possible object is
String
-
setInheritance
public void setInheritance(String value)
Sets the value of the inheritance property.- Parameters:
value- allowed object isString
-
isSetInheritance
public boolean isSetInheritance()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withName
public MetadataFieldType withName(String value)
-
withSchema
public MetadataFieldType withSchema(MetadataSchemaElementType value)
-
withType
public MetadataFieldType withType(MetadataFieldTypeType value)
-
withIndex
public MetadataFieldType withIndex(MetadataFieldIndexType value)
-
withFullText
public MetadataFieldType withFullText(Boolean value)
-
withCaseSensitiveSorting
public MetadataFieldType withCaseSensitiveSorting(Boolean value)
-
withConstraint
public MetadataFieldType withConstraint(MetadataFieldType.Constraint value)
-
withFloatRestriction
public MetadataFieldType withFloatRestriction(MetadataFieldFloatType value)
-
withIntegerRestriction
public MetadataFieldType withIntegerRestriction(MetadataFieldIntegerType value)
-
withLongRestriction
public MetadataFieldType withLongRestriction(MetadataFieldLongType value)
-
withStringRestriction
public MetadataFieldType withStringRestriction(MetadataFieldStringType value)
-
withData
public MetadataFieldType withData(KeyValuePairType... values)
-
withData
public MetadataFieldType withData(Collection<KeyValuePairType> values)
-
withValues
public MetadataFieldType withValues(SimpleMetadataType value)
-
withDefaultValue
public MetadataFieldType withDefaultValue(String value)
-
withExternalId
public MetadataFieldType withExternalId(String... values)
-
withExternalId
public MetadataFieldType withExternalId(Collection<String> values)
-
withOrigin
public MetadataFieldType withOrigin(String value)
-
withBoost
public MetadataFieldType withBoost(Float value)
-
withSystem
public MetadataFieldType withSystem(String value)
-
withSortable
public MetadataFieldType withSortable(boolean value)
-
withInheritance
public MetadataFieldType withInheritance(String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public MetadataFieldType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-