public class DataObjectReference extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, 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>
| Modifier and Type | Field and Description |
|---|---|
protected ExtensionsListType |
dataObjectReferenceExtensions |
protected DigestMethod |
digestMethod |
protected byte[] |
digestValue |
protected String |
mimeType |
protected Boolean |
rootfile |
protected String |
uri |
| Constructor and Description |
|---|
DataObjectReference()
Default no-arg constructor
|
DataObjectReference(DigestMethod digestMethod,
byte[] digestValue,
ExtensionsListType dataObjectReferenceExtensions,
String uri,
String mimeType,
Boolean rootfile)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy 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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
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) |
protected DigestMethod digestMethod
protected byte[] digestValue
protected ExtensionsListType dataObjectReferenceExtensions
protected String uri
protected String mimeType
protected Boolean rootfile
public DataObjectReference()
public DataObjectReference(DigestMethod digestMethod, byte[] digestValue, ExtensionsListType dataObjectReferenceExtensions, String uri, String mimeType, Boolean rootfile)
public DigestMethod getDigestMethod()
DigestMethodpublic void setDigestMethod(DigestMethod value)
value - allowed object is
DigestMethodpublic byte[] getDigestValue()
public void setDigestValue(byte[] value)
value - allowed object is
byte[]public ExtensionsListType getDataObjectReferenceExtensions()
ExtensionsListTypepublic void setDataObjectReferenceExtensions(ExtensionsListType value)
value - allowed object is
ExtensionsListTypepublic void setURI(String value)
value - allowed object is
Stringpublic String getMimeType()
Stringpublic void setMimeType(String value)
value - allowed object is
Stringpublic Boolean getRootfile()
Booleanpublic void setRootfile(Boolean value)
value - allowed object is
Booleanpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic DataObjectReference withDigestMethod(DigestMethod value)
public DataObjectReference withDigestValue(byte[] value)
public DataObjectReference withDataObjectReferenceExtensions(ExtensionsListType value)
public DataObjectReference withURI(String value)
public DataObjectReference withMimeType(String value)
public DataObjectReference withRootfile(Boolean value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.