Class MetadataFieldType
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb.lang.CopyTo
,org.jvnet.jaxb.lang.Equals
,org.jvnet.jaxb.lang.HashCode
,org.jvnet.jaxb.lang.ToString
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"/>
<element name="extraData" 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"/>
<element name="inheritanceRule" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="condition">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="field">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="inheritedName" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Java class for anonymous complex typestatic class
Java class for anonymous complex typestatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Float
protected Boolean
protected MetadataFieldType.Constraint
protected List<KeyValuePairType>
protected String
protected MetadataFieldFloatType
protected Boolean
protected MetadataFieldIndexType
protected String
protected List<MetadataFieldType.InheritanceRule>
protected MetadataFieldIntegerType
protected MetadataFieldLongType
protected String
protected String
protected MetadataSchemaElementType
protected Boolean
protected MetadataFieldStringType
protected String
protected MetadataFieldTypeType
protected SimpleMetadataType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()
copyTo
(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) getBoost()
Gets the value of the boost property.Gets the value of the constraint property.getData()
Gets the value of the data property.Gets the value of the defaultValue property.Gets the value of the externalId property.Gets the value of the floatRestriction property.getIndex()
Gets the value of the index property.Gets the value of the inheritance property.Gets the value of the inheritanceRule property.Gets the value of the integerRestriction property.Gets the value of the longRestriction property.getName()
Gets the value of the name property.Gets the value of the origin property.Gets the value of the schema property.Gets the value of the stringRestriction property.Gets the value of the system property.getType()
Gets the value of the type property.Gets the value of the values property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) Gets the value of the caseSensitiveSorting property.Gets the value of the fullText property.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Gets the value of the sortable property.void
Sets the value of the boost property.void
setCaseSensitiveSorting
(Boolean value) Sets the value of the caseSensitiveSorting property.void
Sets the value of the constraint property.void
setDefaultValue
(String value) Sets the value of the defaultValue property.void
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
Sets the value of the integerRestriction property.void
Sets the value of the longRestriction property.void
Sets the value of the name property.void
Sets the value of the origin property.void
Sets the value of the schema property.void
setSortable
(boolean value) Sets the value of the sortable property.void
Sets the value of the stringRestriction property.void
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.toString()
void
void
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) Sets the value of the boost property.withCaseSensitiveSorting
(Boolean value) Sets the value of the caseSensitiveSorting property.Sets the value of the constraint property.withData
(KeyValuePairType... values) Adds objects to the list of Data using add methodwithData
(Collection<KeyValuePairType> values) Adds objects to the list of Data using addAll methodwithDefaultValue
(String value) Sets the value of the defaultValue property.withExternalId
(String... values) Adds objects to the list of ExternalId using add methodwithExternalId
(Collection<String> values) Adds objects to the list of ExternalId using addAll methodSets the value of the floatRestriction property.withFullText
(Boolean value) Sets the value of the fullText property.withIndex
(MetadataFieldIndexType value) Sets the value of the index property.withInheritance
(String value) Sets the value of the inheritance property.Adds objects to the list of InheritanceRule using add methodAdds objects to the list of InheritanceRule using addAll methodSets the value of the integerRestriction property.Sets the value of the longRestriction property.Sets the value of the name property.withOrigin
(String value) Sets the value of the origin property.Sets the value of the schema property.withSortable
(boolean value) Sets the value of the sortable property.Sets the value of the stringRestriction property.withSystem
(String value) Sets the value of the system property.withType
(MetadataFieldTypeType value) Sets the value of the type property.withValues
(SimpleMetadataType value) Sets the value of the values property.
-
Field Details
-
name
-
schema
-
type
-
index
-
fullText
-
caseSensitiveSorting
-
constraint
-
floatRestriction
-
integerRestriction
-
longRestriction
-
stringRestriction
-
data
-
values
-
defaultValue
-
externalId
-
origin
-
boost
-
inheritanceRule
-
system
-
sortable
-
inheritance
-
-
Constructor Details
-
MetadataFieldType
public MetadataFieldType()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
isSetName
public boolean isSetName() -
getSchema
Gets the value of the schema property.- Returns:
- possible object is
MetadataSchemaElementType
-
setSchema
Sets the value of the schema property.- Parameters:
value
- allowed object isMetadataSchemaElementType
-
isSetSchema
public boolean isSetSchema() -
getType
Gets the value of the type property.- Returns:
- possible object is
MetadataFieldTypeType
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isMetadataFieldTypeType
-
isSetType
public boolean isSetType() -
getIndex
Gets the value of the index property.- Returns:
- possible object is
MetadataFieldIndexType
-
setIndex
Sets the value of the index property.- Parameters:
value
- allowed object isMetadataFieldIndexType
-
isSetIndex
public boolean isSetIndex() -
isFullText
Gets the value of the fullText property.- Returns:
- possible object is
Boolean
-
setFullText
Sets the value of the fullText property.- Parameters:
value
- allowed object isBoolean
-
isSetFullText
public boolean isSetFullText() -
isCaseSensitiveSorting
Gets the value of the caseSensitiveSorting property.- Returns:
- possible object is
Boolean
-
setCaseSensitiveSorting
Sets the value of the caseSensitiveSorting property.- Parameters:
value
- allowed object isBoolean
-
isSetCaseSensitiveSorting
public boolean isSetCaseSensitiveSorting() -
getConstraint
Gets the value of the constraint property.- Returns:
- possible object is
MetadataFieldType.Constraint
-
setConstraint
Sets the value of the constraint property.- Parameters:
value
- allowed object isMetadataFieldType.Constraint
-
isSetConstraint
public boolean isSetConstraint() -
getFloatRestriction
Gets the value of the floatRestriction property.- Returns:
- possible object is
MetadataFieldFloatType
-
setFloatRestriction
Sets the value of the floatRestriction property.- Parameters:
value
- allowed object isMetadataFieldFloatType
-
isSetFloatRestriction
public boolean isSetFloatRestriction() -
getIntegerRestriction
Gets the value of the integerRestriction property.- Returns:
- possible object is
MetadataFieldIntegerType
-
setIntegerRestriction
Sets the value of the integerRestriction property.- Parameters:
value
- allowed object isMetadataFieldIntegerType
-
isSetIntegerRestriction
public boolean isSetIntegerRestriction() -
getLongRestriction
Gets the value of the longRestriction property.- Returns:
- possible object is
MetadataFieldLongType
-
setLongRestriction
Sets the value of the longRestriction property.- Parameters:
value
- allowed object isMetadataFieldLongType
-
isSetLongRestriction
public boolean isSetLongRestriction() -
getStringRestriction
Gets the value of the stringRestriction property.- Returns:
- possible object is
MetadataFieldStringType
-
setStringRestriction
Sets the value of the stringRestriction property.- Parameters:
value
- allowed object isMetadataFieldStringType
-
isSetStringRestriction
public boolean isSetStringRestriction() -
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
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
- Returns:
- The value of the data property.
-
isSetData
public boolean isSetData() -
unsetData
public void unsetData() -
getValues
Gets the value of the values property.- Returns:
- possible object is
SimpleMetadataType
-
setValues
Sets the value of the values property.- Parameters:
value
- allowed object isSimpleMetadataType
-
isSetValues
public boolean isSetValues() -
getDefaultValue
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
Sets the value of the defaultValue property.- Parameters:
value
- allowed object isString
-
isSetDefaultValue
public boolean isSetDefaultValue() -
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
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
- Returns:
- The value of the externalId property.
-
isSetExternalId
public boolean isSetExternalId() -
unsetExternalId
public void unsetExternalId() -
getOrigin
Gets the value of the origin property.- Returns:
- possible object is
String
-
setOrigin
Sets the value of the origin property.- Parameters:
value
- allowed object isString
-
isSetOrigin
public boolean isSetOrigin() -
getBoost
Gets the value of the boost property.- Returns:
- possible object is
Float
-
setBoost
Sets the value of the boost property.- Parameters:
value
- allowed object isFloat
-
isSetBoost
public boolean isSetBoost() -
getInheritanceRule
Gets the value of the inheritanceRule 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
set
method for the inheritanceRule property.For example, to add a new item, do as follows:
getInheritanceRule().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataFieldType.InheritanceRule
- Returns:
- The value of the inheritanceRule property.
-
isSetInheritanceRule
public boolean isSetInheritanceRule() -
unsetInheritanceRule
public void unsetInheritanceRule() -
getSystem
Gets the value of the system property.- Returns:
- possible object is
String
-
setSystem
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
Gets the value of the inheritance property.- Returns:
- possible object is
String
-
setInheritance
Sets the value of the inheritance property.- Parameters:
value
- allowed object isString
-
isSetInheritance
public boolean isSetInheritance() -
clone
-
copyTo
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withName
Sets the value of the name property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withSchema
Sets the value of the schema property.- Parameters:
value
- allowed object isMetadataSchemaElementType
- Returns:
- The class instance
-
withType
Sets the value of the type property.- Parameters:
value
- allowed object isMetadataFieldTypeType
- Returns:
- The class instance
-
withIndex
Sets the value of the index property.- Parameters:
value
- allowed object isMetadataFieldIndexType
- Returns:
- The class instance
-
withFullText
Sets the value of the fullText property.- Parameters:
value
- allowed object isBoolean
- Returns:
- The class instance
-
withCaseSensitiveSorting
Sets the value of the caseSensitiveSorting property.- Parameters:
value
- allowed object isBoolean
- Returns:
- The class instance
-
withConstraint
Sets the value of the constraint property.- Parameters:
value
- allowed object isMetadataFieldType.Constraint
- Returns:
- The class instance
-
withFloatRestriction
Sets the value of the floatRestriction property.- Parameters:
value
- allowed object isMetadataFieldFloatType
- Returns:
- The class instance
-
withIntegerRestriction
Sets the value of the integerRestriction property.- Parameters:
value
- allowed object isMetadataFieldIntegerType
- Returns:
- The class instance
-
withLongRestriction
Sets the value of the longRestriction property.- Parameters:
value
- allowed object isMetadataFieldLongType
- Returns:
- The class instance
-
withStringRestriction
Sets the value of the stringRestriction property.- Parameters:
value
- allowed object isMetadataFieldStringType
- Returns:
- The class instance
-
withData
Adds objects to the list of Data using add method- Parameters:
values
- objects to add to the list Data- Returns:
- The class instance
-
withData
Adds objects to the list of Data using addAll method- Parameters:
values
- objects to add to the list Data- Returns:
- The class instance
-
withValues
Sets the value of the values property.- Parameters:
value
- allowed object isSimpleMetadataType
- Returns:
- The class instance
-
withDefaultValue
Sets the value of the defaultValue property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withExternalId
Adds objects to the list of ExternalId using add method- Parameters:
values
- objects to add to the list ExternalId- Returns:
- The class instance
-
withExternalId
Adds objects to the list of ExternalId using addAll method- Parameters:
values
- objects to add to the list ExternalId- Returns:
- The class instance
-
withOrigin
Sets the value of the origin property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withBoost
Sets the value of the boost property.- Parameters:
value
- allowed object isFloat
- Returns:
- The class instance
-
withInheritanceRule
Adds objects to the list of InheritanceRule using add method- Parameters:
values
- objects to add to the list InheritanceRule- Returns:
- The class instance
-
withInheritanceRule
Adds objects to the list of InheritanceRule using addAll method- Parameters:
values
- objects to add to the list InheritanceRule- Returns:
- The class instance
-
withSystem
Sets the value of the system property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withSortable
Sets the value of the sortable property.- Parameters:
value
- allowed object is boolean- Returns:
- The class instance
-
withInheritance
Sets the value of the inheritance property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) - Specified by:
equals
in interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb.lang.ToString
-