Class 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
    • Constructor Detail

      • MetadataFieldType

        public MetadataFieldType()
    • 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 is String
      • isSetName

        public boolean isSetName()
      • isSetSchema

        public boolean isSetSchema()
      • isSetType

        public boolean isSetType()
      • 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()
      • isSetConstraint

        public boolean isSetConstraint()
      • isSetFloatRestriction

        public boolean isSetFloatRestriction()
      • isSetIntegerRestriction

        public boolean isSetIntegerRestriction()
      • isSetLongRestriction

        public boolean isSetLongRestriction()
      • 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

      • isSetData

        public boolean isSetData()
      • unsetData

        public void unsetData()
      • 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

      • 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()
      • 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()
      • copyTo

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

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • 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:
        equals in interface org.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:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object