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

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.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  Transient[] _transient
           
protected  Basic[] basic
           
 
Constructor Summary
EmbeddableAttributes()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.EmbeddableAttributes instance.
EmbeddableAttributes(EmbeddableAttributes o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.EmbeddableAttributes instance by copying a given instance.
 
Method Summary
 EmbeddableAttributes clone()
          Creates and returns a copy of this object.
 void copyBasic(Basic[] source)
          Copies all values of property Basic.
 void copyTransient(Transient[] source)
          Copies all values of property Transient.
 Basic[] getBasic()
           
 Basic getBasic(int idx)
           
 int getBasicLength()
           
 Transient[] getTransient()
           
 Transient getTransient(int idx)
           
 int getTransientLength()
           
 void setBasic(Basic[] values)
           
 Basic setBasic(int idx, Basic value)
           
 Transient setTransient(int idx, Transient value)
           
 void setTransient(Transient[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basic

protected Basic[] basic

_transient

protected Transient[] _transient
Constructor Detail

EmbeddableAttributes

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


EmbeddableAttributes

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

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

getBasic

public Basic[] getBasic()
Returns:
array of Basic

getBasic

public Basic getBasic(int idx)
Returns:
one of Basic

getBasicLength

public int getBasicLength()

setBasic

public void setBasic(Basic[] values)
Parameters:
values - allowed objects are Basic

setBasic

public Basic setBasic(int idx,
                      Basic value)
Parameters:
value - allowed object is Basic

getTransient

public Transient[] getTransient()
Returns:
array of Transient

getTransient

public Transient getTransient(int idx)
Returns:
one of Transient

getTransientLength

public int getTransientLength()

setTransient

public void setTransient(Transient[] values)
Parameters:
values - allowed objects are Transient

setTransient

public Transient setTransient(int idx,
                              Transient value)
Parameters:
value - allowed object is Transient

copyBasic

public void copyBasic(Basic[] source)
Copies all values of property Basic.

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

copyTransient

public void copyTransient(Transient[] source)
Copies all values of property Transient.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source 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.