public class EmbeddedId
extends java.lang.Object
Java class for embedded-id complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="embedded-id">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="attribute-override" type="{http://java.sun.com/xml/ns/persistence/orm}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected java.util.List<AttributeOverride> |
attributeOverride |
protected java.lang.String |
name |
| Constructor and Description |
|---|
EmbeddedId() |
| Modifier and Type | Method and Description |
|---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
java.util.List<AttributeOverride> |
getAttributeOverride()
Gets the value of the attributeOverride property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
void |
setAccess(AccessType value)
Sets the value of the access property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
protected java.util.List<AttributeOverride> attributeOverride
protected java.lang.String name
protected AccessType access
public java.util.List<AttributeOverride> getAttributeOverride()
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
AttributeOverridepublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessType