net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl
Class KeyImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.KeyImpl
All Implemented Interfaces:
Serializable, Cloneable, Key

public class KeyImpl
extends Object
implements Serializable, Cloneable, Key

See Also:
Serialized Form

Field Summary
protected  List<Object> beanOrRefOrIdref
           
protected  DescriptionImpl description
           
 
Constructor Summary
KeyImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.KeyImpl instance.
KeyImpl(KeyImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.KeyImpl instance by copying a given instance.
 
Method Summary
 KeyImpl clone()
          Creates and returns a copy of this object.
static void copyBeanOrRefOrIdref(List<Object> source, List<Object> target)
          Copies all values of property BeanOrRefOrIdref.
 List<Object> getBeanOrRefOrIdref()
          Gets the value of the beanOrRefOrIdref property.
 Description getDescription()
          Gets the value of the description property.
 void setDescription(Description value)
          Sets the value of the description property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionImpl description

beanOrRefOrIdref

protected List<Object> beanOrRefOrIdref
Constructor Detail

KeyImpl

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


KeyImpl

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

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

getDescription

public Description getDescription()
Description copied from interface: Key
Gets the value of the description property.

Specified by:
getDescription in interface Key
Returns:
possible object is Description

setDescription

public void setDescription(Description value)
Description copied from interface: Key
Sets the value of the description property.

Specified by:
setDescription in interface Key
Parameters:
value - allowed object is Description

getBeanOrRefOrIdref

public List<Object> getBeanOrRefOrIdref()
Description copied from interface: Key
Gets the value of the beanOrRefOrIdref 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 beanOrRefOrIdref property.

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

    getBeanOrRefOrIdref().add(newItem);
 

Objects of the following type(s) are allowed in the list Idref Object Set Props Bean List Value Ref Null Map

Specified by:
getBeanOrRefOrIdref in interface Key

copyBeanOrRefOrIdref

public static void copyBeanOrRefOrIdref(List<Object> source,
                                        List<Object> target)
Copies all values of property BeanOrRefOrIdref.

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

clone

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