Class MetadataFieldType

java.lang.Object
com.vidispine.generated.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

public class MetadataFieldType extends Object implements 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:
  • Field Details

  • Constructor Details

    • MetadataFieldType

      public MetadataFieldType()
  • Method Details

    • 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 is String
    • 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 is MetadataSchemaElementType
    • 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 is MetadataFieldTypeType
    • 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 is MetadataFieldIndexType
    • 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 is Boolean
    • 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 is Boolean
    • 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 is MetadataFieldType.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 is MetadataFieldFloatType
    • 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 is MetadataFieldIntegerType
    • 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 is MetadataFieldLongType
    • 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 is MetadataFieldStringType
    • 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 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

      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 is SimpleMetadataType
    • 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 is String
    • 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 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

      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 is String
    • 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 is Float
    • isSetBoost

      public boolean isSetBoost()
    • getInheritanceRule

      public List<MetadataFieldType.InheritanceRule> 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

      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 is String
    • 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 is Boolean
    • 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 is String
    • isSetInheritance

      public boolean isSetInheritance()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.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 interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withName

      public MetadataFieldType withName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withSchema

      public MetadataFieldType withSchema(MetadataSchemaElementType value)
      Sets the value of the schema property.
      Parameters:
      value - allowed object is MetadataSchemaElementType
      Returns:
      The class instance
    • withType

      public MetadataFieldType withType(MetadataFieldTypeType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is MetadataFieldTypeType
      Returns:
      The class instance
    • withIndex

      public MetadataFieldType withIndex(MetadataFieldIndexType value)
      Sets the value of the index property.
      Parameters:
      value - allowed object is MetadataFieldIndexType
      Returns:
      The class instance
    • withFullText

      public MetadataFieldType withFullText(Boolean value)
      Sets the value of the fullText property.
      Parameters:
      value - allowed object is Boolean
      Returns:
      The class instance
    • withCaseSensitiveSorting

      public MetadataFieldType withCaseSensitiveSorting(Boolean value)
      Sets the value of the caseSensitiveSorting property.
      Parameters:
      value - allowed object is Boolean
      Returns:
      The class instance
    • withConstraint

      public MetadataFieldType withConstraint(MetadataFieldType.Constraint value)
      Sets the value of the constraint property.
      Parameters:
      value - allowed object is MetadataFieldType.Constraint
      Returns:
      The class instance
    • withFloatRestriction

      public MetadataFieldType withFloatRestriction(MetadataFieldFloatType value)
      Sets the value of the floatRestriction property.
      Parameters:
      value - allowed object is MetadataFieldFloatType
      Returns:
      The class instance
    • withIntegerRestriction

      public MetadataFieldType withIntegerRestriction(MetadataFieldIntegerType value)
      Sets the value of the integerRestriction property.
      Parameters:
      value - allowed object is MetadataFieldIntegerType
      Returns:
      The class instance
    • withLongRestriction

      public MetadataFieldType withLongRestriction(MetadataFieldLongType value)
      Sets the value of the longRestriction property.
      Parameters:
      value - allowed object is MetadataFieldLongType
      Returns:
      The class instance
    • withStringRestriction

      public MetadataFieldType withStringRestriction(MetadataFieldStringType value)
      Sets the value of the stringRestriction property.
      Parameters:
      value - allowed object is MetadataFieldStringType
      Returns:
      The class instance
    • withData

      public MetadataFieldType withData(KeyValuePairType... values)
      Adds objects to the list of Data using add method
      Parameters:
      values - objects to add to the list Data
      Returns:
      The class instance
    • withData

      public MetadataFieldType withData(Collection<KeyValuePairType> values)
      Adds objects to the list of Data using addAll method
      Parameters:
      values - objects to add to the list Data
      Returns:
      The class instance
    • withValues

      public MetadataFieldType withValues(SimpleMetadataType value)
      Sets the value of the values property.
      Parameters:
      value - allowed object is SimpleMetadataType
      Returns:
      The class instance
    • withDefaultValue

      public MetadataFieldType withDefaultValue(String value)
      Sets the value of the defaultValue property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withExternalId

      public MetadataFieldType withExternalId(String... values)
      Adds objects to the list of ExternalId using add method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withExternalId

      public MetadataFieldType withExternalId(Collection<String> values)
      Adds objects to the list of ExternalId using addAll method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withOrigin

      public MetadataFieldType withOrigin(String value)
      Sets the value of the origin property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withBoost

      public MetadataFieldType withBoost(Float value)
      Sets the value of the boost property.
      Parameters:
      value - allowed object is Float
      Returns:
      The class instance
    • withInheritanceRule

      public MetadataFieldType withInheritanceRule(MetadataFieldType.InheritanceRule... values)
      Adds objects to the list of InheritanceRule using add method
      Parameters:
      values - objects to add to the list InheritanceRule
      Returns:
      The class instance
    • withInheritanceRule

      public MetadataFieldType withInheritanceRule(Collection<MetadataFieldType.InheritanceRule> values)
      Adds objects to the list of InheritanceRule using addAll method
      Parameters:
      values - objects to add to the list InheritanceRule
      Returns:
      The class instance
    • withSystem

      public MetadataFieldType withSystem(String value)
      Sets the value of the system property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withSortable

      public MetadataFieldType withSortable(boolean value)
      Sets the value of the sortable property.
      Parameters:
      value - allowed object is boolean
      Returns:
      The class instance
    • withInheritance

      public MetadataFieldType withInheritance(String value)
      Sets the value of the inheritance property.
      Parameters:
      value - allowed object is String
      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 interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public MetadataFieldType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.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 interface org.jvnet.jaxb.lang.ToString