net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl
Class EmbeddableAttributesImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddableAttributesImpl
All Implemented Interfaces:
Serializable, Cloneable, EmbeddableAttributes

public class EmbeddableAttributesImpl
extends Object
implements Serializable, Cloneable, EmbeddableAttributes

See Also:
Serialized Form

Field Summary
protected  List<Transient> _transient
           
protected  List<Basic> basic
           
 
Constructor Summary
EmbeddableAttributesImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddableAttributesImpl instance.
EmbeddableAttributesImpl(EmbeddableAttributesImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddableAttributesImpl instance by copying a given instance.
 
Method Summary
 EmbeddableAttributesImpl clone()
          Creates and returns a copy of this object.
static void copyBasic(List<Basic> source, List<Basic> target)
          Copies all values of property Basic.
static void copyTransient(List<Transient> source, List<Transient> target)
          Copies all values of property Transient.
 List<Basic> getBasic()
          Gets the value of the basic property.
 List<Transient> getTransient()
          Gets the value of the transient property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basic

protected List<Basic> basic

_transient

protected List<Transient> _transient
Constructor Detail

EmbeddableAttributesImpl

public EmbeddableAttributesImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddableAttributesImpl instance.


EmbeddableAttributesImpl

public EmbeddableAttributesImpl(EmbeddableAttributesImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddableAttributesImpl instance by copying a given instance.

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

getBasic

public List<Basic> getBasic()
Description copied from interface: EmbeddableAttributes
Gets the value of the basic 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 basic property.

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

    getBasic().add(newItem);
 

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

Specified by:
getBasic in interface EmbeddableAttributes

getTransient

public List<Transient> getTransient()
Description copied from interface: EmbeddableAttributes
Gets the value of the transient 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 transient property.

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

    getTransient().add(newItem);
 

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

Specified by:
getTransient in interface EmbeddableAttributes

copyBasic

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

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

copyTransient

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

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

clone

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