public class JaxbEmbeddedId extends Object implements Serializable, PersistentAttribute
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected List<JaxbAttributeOverride> |
attributeOverride |
protected String |
name |
| Constructor and Description |
|---|
JaxbEmbeddedId() |
| Modifier and Type | Method and Description |
|---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
List<JaxbAttributeOverride> |
getAttributeOverride()
Gets the value of the attributeOverride property.
|
String |
getName()
Gets the value of the name property.
|
void |
setAccess(AccessType value)
Sets the value of the access property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<JaxbAttributeOverride> attributeOverride
protected String name
protected AccessType access
public List<JaxbAttributeOverride> getAttributeOverride()
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
JaxbAttributeOverride
public String getName()
getName in interface PersistentAttributeStringpublic void setName(String value)
value - allowed object is
Stringpublic AccessType getAccess()
getAccess in interface PersistentAttributeStringpublic void setAccess(AccessType value)
setAccess in interface PersistentAttributevalue - allowed object is
StringCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.