net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans
Class Value

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

public class Value
extends Object
implements Serializable, Cloneable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
       </choice>
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<String> content
           
protected  String type
           
 
Constructor Summary
Value()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Value instance.
Value(Value o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Value instance by copying a given instance.
 
Method Summary
 Value clone()
          Creates and returns a copy of this object.
protected static void copyContent(List<String> source, List<String> target)
          Copies all values of property Content.
 List<String> getContent()
          Gets the value of the content property.
 String getType()
          Gets the value of the type property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<String> content

type

protected String type
Constructor Detail

Value

public Value()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.beans.Value instance.


Value

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

Parameters:
o - The instance to copy or null.
Method Detail

getContent

public List<String> 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 String


getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

copyContent

protected static void copyContent(List<String> source,
                                  List<String> 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 Value 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.