net.sourceforge.ccxjc.it.model.prot.collections.valueclass.xmldsig
Class ObjectType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.xmldsig.ObjectType
All Implemented Interfaces:
Serializable, Cloneable

public class ObjectType
extends Object
implements Serializable, Cloneable

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
protected  List<Object> content
           
protected  String encoding
           
protected  String id
           
protected  String mimeType
           
 
Constructor Summary
ObjectType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.xmldsig.ObjectType instance.
ObjectType(ObjectType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.xmldsig.ObjectType instance by copying a given instance.
 
Method Summary
 ObjectType clone()
          Creates and returns a copy of this object.
protected static void copyContent(List<Object> source, List<Object> target)
          Copies all values of property Content.
 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.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<Object> content

id

protected String id

mimeType

protected String mimeType

encoding

protected String encoding
Constructor Detail

ObjectType

public ObjectType()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.xmldsig.ObjectType instance.


ObjectType

public ObjectType(ObjectType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.xmldsig.ObjectType instance by copying a given instance.

Parameters:
o - The instance to copy or 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 Element Object String


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

copyContent

protected static void copyContent(List<Object> source,
                                  List<Object> target)
Copies all values of property Content.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

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

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.