org.w3._2000._09.xmldsig
Class ObjectType

java.lang.Object
  extended by org.w3._2000._09.xmldsig.ObjectType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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>
 

See Also:
Serialized Form

Field Summary
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 Summary
ObjectType()
          Creates a new ObjectType instance.
ObjectType(ObjectType o)
          Creates a new ObjectType instance by deeply copying a given ObjectType instance.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

content

protected List<Object> content

id

protected String id

mimeType

protected String mimeType

encoding

protected String encoding

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_MIME_TYPE

public static final QName F_MIME_TYPE

F_ENCODING

public static final QName F_ENCODING
Constructor Detail

ObjectType

public ObjectType()
Creates a new ObjectType instance.


ObjectType

public ObjectType(ObjectType o)
Creates a new ObjectType instance by deeply copying a given ObjectType instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getContent

public List<Object> getContent()
Gets the value of the content property.

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 Object String Element


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getMimeType

public String getMimeType()
Gets the value of the mimeType property.

Returns:
possible object is String

setMimeType

public void setMimeType(String value)
Sets the value of the mimeType property.

Parameters:
value - allowed object is String

getEncoding

public String getEncoding()
Gets the value of the encoding property.

Returns:
possible object is String

setEncoding

public void setEncoding(String value)
Sets the value of the encoding property.

Parameters:
value - allowed object is String

toString

public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

clone

public ObjectType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2013 evolveum. All Rights Reserved.