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/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.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 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.EqualsStrategy2 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.HashCodeStrategy2 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()
DigestMethod
public void setDigestMethod(DigestMethod value)
value
- allowed object is
DigestMethod
public byte[] getDigestValue()
public void setDigestValue(byte[] value)
value
- allowed object is
byte[]public ExtensionsListType getDataObjectReferenceExtensions()
ExtensionsListType
public void setDataObjectReferenceExtensions(ExtensionsListType value)
value
- allowed object is
ExtensionsListType
public String getURI()
String
public void setURI(String value)
value
- allowed object is
String
public String getMimeType()
String
public void setMimeType(String value)
value
- allowed object is
String
public Boolean getRootfile()
Boolean
public void setRootfile(Boolean value)
value
- allowed object is
Boolean
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString2
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString2
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals2
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode2
public 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 © 2019 Digipost. All rights reserved.