net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans
Class PropsType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.CollectionType
      extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.PropsType
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Properties, Props

public class PropsType
extends CollectionType
implements Serializable, Cloneable

Java class for propsType complex type.

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

 <complexType name="propsType">
   <complexContent>
     <extension base="{http://www.springframework.org/schema/beans}collectionType">
       <sequence>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.springframework.org/schema/beans}prop"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Prop> prop
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.CollectionType
valueType
 
Constructor Summary
PropsType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.PropsType instance.
PropsType(PropsType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.PropsType instance by copying a given instance.
 
Method Summary
 PropsType clone()
          Creates and returns a copy of this object.
static void copyProp(List<Prop> source, List<Prop> target)
          Copies all values of property Prop.
 List<Prop> getProp()
          Gets the value of the prop property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.CollectionType
getValueType, setValueType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prop

protected List<Prop> prop
Constructor Detail

PropsType

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


PropsType

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

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

getProp

public List<Prop> getProp()
Gets the value of the prop 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 prop property.

For example, to add a new item, do as follows:

    getProp().add(newItem);
 

Objects of the following type(s) are allowed in the list Prop


copyProp

public static void copyProp(List<Prop> source,
                            List<Prop> target)
Copies all values of property Prop.

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

clone

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

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


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