net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm
Class EmbeddableAttributes

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

public class EmbeddableAttributes
extends Object
implements Serializable, Cloneable

Java class for embeddable-attributes complex type.

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

 <complexType name="embeddable-attributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="basic" type="{http://java.sun.com/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/>
         <element name="transient" type="{http://java.sun.com/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Transient> _transient
           
protected  List<Basic> basic
           
 
Constructor Summary
EmbeddableAttributes()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.EmbeddableAttributes instance.
EmbeddableAttributes(EmbeddableAttributes o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.EmbeddableAttributes instance by copying a given instance.
 
Method Summary
 EmbeddableAttributes 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

EmbeddableAttributes

public EmbeddableAttributes()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.EmbeddableAttributes instance.


EmbeddableAttributes

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

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

getBasic

public List<Basic> getBasic()
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


getTransient

public List<Transient> getTransient()
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


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 EmbeddableAttributes 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.