public class DataObjectFormat extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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.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) |
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.HashCodeStrategy2 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()
String
public void setDescription(String value)
value
- allowed object is
String
public ObjectIdentifier getObjectIdentifier()
ObjectIdentifier
public void setObjectIdentifier(ObjectIdentifier value)
value
- allowed object is
ObjectIdentifier
public String getMimeType()
String
public void setMimeType(String value)
value
- allowed object is
String
public String getEncoding()
String
public void setEncoding(String value)
value
- allowed object is
String
public String getObjectReference()
String
public void setObjectReference(String value)
value
- allowed object is
String
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 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 © 2019 Digipost. All rights reserved.