Class MetadataFieldResultType

  • 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 MetadataFieldResultType
    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 MetadataFieldResultType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="MetadataFieldResultType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="hits" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="group" maxOccurs="unbounded" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="value" type="{http://xml.vidispine.com/schema/vidispine}MetadataGroupValueType" minOccurs="0"/>
                       <element name="definition" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldGroupType" minOccurs="0"/>
                       <element name="source" minOccurs="0">
                         <complexType>
                           <complexContent>
                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                               <sequence>
                                 <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
                                 <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
                                 <element name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
                               </sequence>
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                     </sequence>
                     <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • MetadataFieldResultType

        public MetadataFieldResultType()
    • Method Detail

      • getHits

        public int getHits()
        Gets the value of the hits property.
      • setHits

        public void setHits​(int value)
        Sets the value of the hits property.
      • isSetHits

        public boolean isSetHits()
      • getGroup

        public List<MetadataFieldResultType.Group> getGroup()
        Gets the value of the group 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 group property.

        For example, to add a new item, do as follows:

            getGroup().add(newItem);
         

        Objects of the following type(s) are allowed in the list MetadataFieldResultType.Group

      • isSetGroup

        public boolean isSetGroup()
      • unsetGroup

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