public class ObjectType extends Object implements Serializable, Cloneable, 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 |
---|---|
static QName |
COMPLEX_TYPE |
protected List<Object> |
content |
protected String |
encoding |
static QName |
F_ENCODING |
static QName |
F_MIME_TYPE |
protected String |
id |
protected String |
mimeType |
Constructor and Description |
---|
ObjectType()
Creates a new
ObjectType instance. |
ObjectType(ObjectType o)
Creates a new
ObjectType instance by deeply copying a given ObjectType instance. |
Modifier and Type | Method and Description |
---|---|
ObjectType |
clone()
Creates and returns a deep copy of this object.
|
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) |
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getEncoding()
Gets the value of the encoding property.
|
String |
getId()
Gets the value of the id property.
|
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(String value)
Sets the value of the encoding property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected String id
protected String mimeType
protected String encoding
public static final QName COMPLEX_TYPE
public static final QName F_MIME_TYPE
public static final QName F_ENCODING
public ObjectType()
ObjectType
instance.public ObjectType(ObjectType o)
ObjectType
instance by deeply copying a given ObjectType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public List<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 void setId(String value)
value
- allowed object is
String
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 toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public 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.Equals
public ObjectType clone()
Copyright © 2016 Evolveum. All rights reserved.