Class MDObjectLeaf

  • 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 MDObjectLeaf
    extends MDObjectBase
    implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for MDObjectLeaf complex type.

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

     <complexType name="MDObjectLeaf">
       <complexContent>
         <extension base="{http://xml.vidispine.com/schema/vidispine}MDObjectBase">
           <sequence>
             <choice>
               <element name="hexValue" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/>
               <element name="stringValue" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • hexValue

        protected byte[] hexValue
      • stringValue

        protected String stringValue
    • Constructor Detail

      • MDObjectLeaf

        public MDObjectLeaf()
    • Method Detail

      • getHexValue

        public byte[] getHexValue()
        Gets the value of the hexValue property.
        Returns:
        possible object is String
      • setHexValue

        public void setHexValue​(byte[] value)
        Sets the value of the hexValue property.
        Parameters:
        value - allowed object is String
      • isSetHexValue

        public boolean isSetHexValue()
      • getStringValue

        public String getStringValue()
        Gets the value of the stringValue property.
        Returns:
        possible object is String
      • setStringValue

        public void setStringValue​(String value)
        Sets the value of the stringValue property.
        Parameters:
        value - allowed object is String
      • isSetStringValue

        public boolean isSetStringValue()
      • copyTo

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

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
        Overrides:
        createNewInstance in class MDObjectBase
      • withHexValue

        public MDObjectLeaf withHexValue​(byte[] 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class MDObjectBase
      • 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
        Overrides:
        hashCode in class MDObjectBase