net.sourceforge.jpaxjc.ns.persistence.orm
Class EmbeddableAttributes

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.EmbeddableAttributes
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class EmbeddableAttributes
extends Object
implements 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>
 


Field Summary
protected  List<Transient> _transient
           
protected  List<Basic> basic
           
 
Constructor Summary
EmbeddableAttributes()
          Creates a new EmbeddableAttributes instance.
EmbeddableAttributes(EmbeddableAttributes o)
          Creates a new EmbeddableAttributes instance by deeply copying a given EmbeddableAttributes instance.
 
Method Summary
 EmbeddableAttributes clone()
          Creates and returns a deep copy of this object.
 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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Basic> basic

_transient

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Transient> _transient
Constructor Detail

EmbeddableAttributes

public EmbeddableAttributes()
Creates a new EmbeddableAttributes instance.


EmbeddableAttributes

public EmbeddableAttributes(EmbeddableAttributes o)
Creates a new EmbeddableAttributes instance by deeply copying a given EmbeddableAttributes instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getBasic

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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


clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmbeddableAttributes clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.