net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl
Class PropImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.PropImpl
All Implemented Interfaces:
Serializable, Cloneable, Prop

public class PropImpl
extends Object
implements Serializable, Cloneable, Prop

See Also:
Serialized Form

Field Summary
protected  List<String> content
           
protected  String key
           
 
Constructor Summary
PropImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.PropImpl instance.
PropImpl(PropImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.PropImpl instance by copying a given instance.
 
Method Summary
 PropImpl clone()
          Creates and returns a copy of this object.
 List<String> getContent()
          Gets the value of the content property.
 String getKey()
          Gets the value of the key property.
 void setKey(String value)
          Sets the value of the key 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

key

protected String key
Constructor Detail

PropImpl

public PropImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.PropImpl instance.


PropImpl

public PropImpl(PropImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.PropImpl instance by copying a given instance.

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

getContent

public List<String> getContent()
Description copied from interface: Prop
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

Specified by:
getContent in interface Prop

getKey

public String getKey()
Description copied from interface: Prop
Gets the value of the key property.

Specified by:
getKey in interface Prop
Returns:
possible object is String

setKey

public void setKey(String value)
Description copied from interface: Prop
Sets the value of the key property.

Specified by:
setKey in interface Prop
Parameters:
value - allowed object is String

clone

public PropImpl 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.