Class DataObjectReference

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class DataObjectReference
    extends Object
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    Java class for DataObjectReferenceType complex type.

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

     <complexType name="DataObjectReferenceType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/>
             <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/>
             <element name="DataObjectReferenceExtensions" type="{http://uri.etsi.org/02918/v1.2.1#}ExtensionsListType" minOccurs="0"/>
           </sequence>
           <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="Rootfile" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • digestMethod

        protected no.digipost.org.w3.xmldsig.DigestMethod digestMethod
      • digestValue

        protected byte[] digestValue
      • dataObjectReferenceExtensions

        protected ExtensionsListType dataObjectReferenceExtensions
      • mimeType

        protected String mimeType
      • rootfile

        protected Boolean rootfile
    • Constructor Detail

      • DataObjectReference

        public DataObjectReference()
        Default no-arg constructor
      • DataObjectReference

        public DataObjectReference​(no.digipost.org.w3.xmldsig.DigestMethod digestMethod,
                                   byte[] digestValue,
                                   ExtensionsListType dataObjectReferenceExtensions,
                                   String uri,
                                   String mimeType,
                                   Boolean rootfile)
        Fully-initialising value constructor
    • Method Detail

      • getDigestMethod

        public no.digipost.org.w3.xmldsig.DigestMethod getDigestMethod()
        Gets the value of the digestMethod property.
        Returns:
        possible object is DigestMethod
      • setDigestMethod

        public void setDigestMethod​(no.digipost.org.w3.xmldsig.DigestMethod value)
        Sets the value of the digestMethod property.
        Parameters:
        value - allowed object is DigestMethod
      • getDigestValue

        public byte[] getDigestValue()
        Gets the value of the digestValue property.
        Returns:
        possible object is byte[]
      • setDigestValue

        public void setDigestValue​(byte[] value)
        Sets the value of the digestValue property.
        Parameters:
        value - allowed object is byte[]
      • getDataObjectReferenceExtensions

        public ExtensionsListType getDataObjectReferenceExtensions()
        Gets the value of the dataObjectReferenceExtensions property.
        Returns:
        possible object is ExtensionsListType
      • setDataObjectReferenceExtensions

        public void setDataObjectReferenceExtensions​(ExtensionsListType value)
        Sets the value of the dataObjectReferenceExtensions property.
        Parameters:
        value - allowed object is ExtensionsListType
      • getURI

        public String getURI()
        Gets the value of the uri property.
        Returns:
        possible object is String
      • setURI

        public void setURI​(String value)
        Sets the value of the uri property.
        Parameters:
        value - allowed object is String
      • getMimeType

        public String getMimeType()
        Gets the value of the mimeType property.
        Returns:
        possible object is String
      • setMimeType

        public void setMimeType​(String value)
        Sets the value of the mimeType property.
        Parameters:
        value - allowed object is String
      • getRootfile

        public Boolean getRootfile()
        Gets the value of the rootfile property.
        Returns:
        possible object is Boolean
      • setRootfile

        public void setRootfile​(Boolean value)
        Sets the value of the rootfile property.
        Parameters:
        value - allowed object is Boolean
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      • 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
      • withDigestMethod

        public DataObjectReference withDigestMethod​(no.digipost.org.w3.xmldsig.DigestMethod value)