public class DataObjectFormat extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DataObjectFormatType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DataObjectFormatType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ObjectIdentifier" type="{http://uri.etsi.org/01903/v1.3.2#}ObjectIdentifierType" minOccurs="0"/>
<element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
</sequence>
<attribute name="ObjectReference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
encoding |
protected String |
mimeType |
protected ObjectIdentifier |
objectIdentifier |
protected String |
objectReference |
| Constructor and Description |
|---|
DataObjectFormat()
Default no-arg constructor
|
DataObjectFormat(String description,
ObjectIdentifier objectIdentifier,
String mimeType,
String encoding,
String objectReference)
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) |
String |
getDescription()
Gets the value of the description property.
|
String |
getEncoding()
Gets the value of the encoding property.
|
String |
getMimeType()
Gets the value of the mimeType property.
|
ObjectIdentifier |
getObjectIdentifier()
Gets the value of the objectIdentifier property.
|
String |
getObjectReference()
Gets the value of the objectReference property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEncoding(String value)
Sets the value of the encoding property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
void |
setObjectIdentifier(ObjectIdentifier value)
Sets the value of the objectIdentifier property.
|
void |
setObjectReference(String value)
Sets the value of the objectReference property.
|
String |
toString() |
DataObjectFormat |
withDescription(String value) |
DataObjectFormat |
withEncoding(String value) |
DataObjectFormat |
withMimeType(String value) |
DataObjectFormat |
withObjectIdentifier(ObjectIdentifier value) |
DataObjectFormat |
withObjectReference(String value) |
protected String description
protected ObjectIdentifier objectIdentifier
protected String mimeType
protected String encoding
protected String objectReference
public DataObjectFormat()
public DataObjectFormat(String description, ObjectIdentifier objectIdentifier, String mimeType, String encoding, String objectReference)
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic ObjectIdentifier getObjectIdentifier()
ObjectIdentifierpublic void setObjectIdentifier(ObjectIdentifier value)
value - allowed object is
ObjectIdentifierpublic String getMimeType()
Stringpublic void setMimeType(String value)
value - allowed object is
Stringpublic String getEncoding()
Stringpublic void setEncoding(String value)
value - allowed object is
Stringpublic String getObjectReference()
Stringpublic void setObjectReference(String value)
value - allowed object is
Stringpublic 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 DataObjectFormat withDescription(String value)
public DataObjectFormat withObjectIdentifier(ObjectIdentifier value)
public DataObjectFormat withMimeType(String value)
public DataObjectFormat withEncoding(String value)
public DataObjectFormat withObjectReference(String value)
Copyright © 2017 Digipost. All Rights Reserved.