org.apache.openejb.jee.jpa
Class EmbeddableAttributes

java.lang.Object
  extended by org.apache.openejb.jee.jpa.EmbeddableAttributes

public class EmbeddableAttributes
extends Object

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()
           
 
Method Summary
 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
clone, 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()
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



Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.