org.apache.openejb.jee.jpa
Class EmbeddedId

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

public class EmbeddedId
extends Object


Field Summary
protected  List<AttributeOverride> attributeOverride
           
protected  String name
           
 
Constructor Summary
EmbeddedId()
           
 
Method Summary
 List<AttributeOverride> getAttributeOverride()
          Gets the value of the attributeOverride property.
 String getName()
          Gets the value of the name property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeOverride

protected List<AttributeOverride> attributeOverride

name

protected String name
Constructor Detail

EmbeddedId

public EmbeddedId()
Method Detail

getAttributeOverride

public List<AttributeOverride> getAttributeOverride()
Gets the value of the attributeOverride 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 attributeOverride property.

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

    getAttributeOverride().add(newItem);
 

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


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


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