public class Object
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for ObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<any processContents='lax'/>
</sequence>
<attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
content |
protected java.lang.String |
encoding |
protected java.lang.String |
id |
protected java.lang.String |
mimeType |
| Constructor and Description |
|---|
Object()
Default no-arg constructor
|
Object(java.util.List<java.lang.Object> content,
java.lang.String id,
java.lang.String mimeType,
java.lang.String encoding)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<java.lang.Object> |
getContent()
Gets the value of the content property.
|
java.lang.String |
getEncoding()
Gets the value of the encoding property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getMimeType()
Gets the value of the mimeType property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setEncoding(java.lang.String value)
Sets the value of the encoding property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setMimeType(java.lang.String value)
Sets the value of the mimeType property.
|
Object |
withContent(java.util.Collection<java.lang.Object> values) |
Object |
withContent(java.lang.Object... values) |
Object |
withEncoding(java.lang.String value) |
Object |
withId(java.lang.String value) |
Object |
withMimeType(java.lang.String value) |
protected java.util.List<java.lang.Object> content
protected java.lang.String id
protected java.lang.String mimeType
protected java.lang.String encoding
public Object()
public Object(java.util.List<java.lang.Object> content,
java.lang.String id,
java.lang.String mimeType,
java.lang.String encoding)
public java.util.List<java.lang.Object> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
String
Element
Object
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getMimeType()
Stringpublic void setMimeType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getEncoding()
Stringpublic void setEncoding(java.lang.String value)
value - allowed object is
Stringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic 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 int hashCode()
hashCode in class java.lang.Objectpublic Object withContent(java.lang.Object... values)
public Object withContent(java.util.Collection<java.lang.Object> values)
public Object withId(java.lang.String value)
public Object withMimeType(java.lang.String value)
public Object withEncoding(java.lang.String value)