org.etsi.uri._2918.v1_2
Class DataObjectReference

java.lang.Object
  extended by org.etsi.uri._2918.v1_2.DataObjectReference
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class DataObjectReference
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

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/2918/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 Summary
protected  ExtensionsListType dataObjectReferenceExtensions
           
protected  DigestMethod digestMethod
           
protected  byte[] digestValue
           
protected  String mimeType
           
protected  Boolean rootfile
           
protected  String uri
           
 
Constructor Summary
DataObjectReference()
          Default no-arg constructor
DataObjectReference(DigestMethod digestMethod, byte[] digestValue, ExtensionsListType dataObjectReferenceExtensions, String uri, String mimeType, Boolean rootfile)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 ExtensionsListType getDataObjectReferenceExtensions()
          Gets the value of the dataObjectReferenceExtensions property.
 DigestMethod getDigestMethod()
          Gets the value of the digestMethod property.
 byte[] getDigestValue()
          Gets the value of the digestValue property.
 String getMimeType()
          Gets the value of the mimeType property.
 Boolean getRootfile()
          Gets the value of the rootfile property.
 String getURI()
          Gets the value of the uri property.
 void setDataObjectReferenceExtensions(ExtensionsListType value)
          Sets the value of the dataObjectReferenceExtensions property.
 void setDigestMethod(DigestMethod value)
          Sets the value of the digestMethod property.
 void setDigestValue(byte[] value)
          Sets the value of the digestValue property.
 void setMimeType(String value)
          Sets the value of the mimeType property.
 void setRootfile(Boolean value)
          Sets the value of the rootfile property.
 void setURI(String value)
          Sets the value of the uri property.
 String toString()
           
 DataObjectReference withDataObjectReferenceExtensions(ExtensionsListType value)
           
 DataObjectReference withDigestMethod(DigestMethod value)
           
 DataObjectReference withDigestValue(byte[] value)
           
 DataObjectReference withMimeType(String value)
           
 DataObjectReference withRootfile(Boolean value)
           
 DataObjectReference withURI(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

digestMethod

protected DigestMethod digestMethod

digestValue

protected byte[] digestValue

dataObjectReferenceExtensions

protected ExtensionsListType dataObjectReferenceExtensions

uri

protected String uri

mimeType

protected String mimeType

rootfile

protected Boolean rootfile
Constructor Detail

DataObjectReference

public DataObjectReference()
Default no-arg constructor


DataObjectReference

public DataObjectReference(DigestMethod digestMethod,
                           byte[] digestValue,
                           ExtensionsListType dataObjectReferenceExtensions,
                           String uri,
                           String mimeType,
                           Boolean rootfile)
Fully-initialising value constructor

Method Detail

getDigestMethod

public DigestMethod getDigestMethod()
Gets the value of the digestMethod property.

Returns:
possible object is DigestMethod

setDigestMethod

public void setDigestMethod(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

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withDigestMethod

public DataObjectReference withDigestMethod(DigestMethod value)

withDigestValue

public DataObjectReference withDigestValue(byte[] value)

withDataObjectReferenceExtensions

public DataObjectReference withDataObjectReferenceExtensions(ExtensionsListType value)

withURI

public DataObjectReference withURI(String value)

withMimeType

public DataObjectReference withMimeType(String value)

withRootfile

public DataObjectReference withRootfile(Boolean value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.