public class Embedded extends Object
@Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Embedded {}
<p>Java class for embedded complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="embedded"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="attribute-override" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}attribute-override" maxOccurs="unbounded" minOccurs="0"/> <element name="association-override" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}association-override" maxOccurs="unbounded" minOccurs="0"/> <element name="convert" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}convert" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected List<AssociationOverride> |
associationOverride |
protected List<AttributeOverride> |
attributeOverride |
protected List<Convert> |
convert |
protected String |
name |
| Constructor and Description |
|---|
Embedded() |
| Modifier and Type | Method and Description |
|---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
List<AssociationOverride> |
getAssociationOverride()
Gets the value of the associationOverride property.
|
List<AttributeOverride> |
getAttributeOverride()
Gets the value of the attributeOverride property.
|
List<Convert> |
getConvert()
Gets the value of the convert 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<AttributeOverride> attributeOverride
protected List<AssociationOverride> associationOverride
protected String name
protected AccessType access
public List<AttributeOverride> getAttributeOverride()
Gets the value of the attributeOverride property.
<p> 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 <CODE>set</CODE> method for the attributeOverride property.
<p> For example, to add a new item, do as follows: <pre> getAttributeOverride().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
AttributeOverride
public List<AssociationOverride> getAssociationOverride()
Gets the value of the associationOverride property.
<p> 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 <CODE>set</CODE> method for the associationOverride property.
<p> For example, to add a new item, do as follows: <pre> getAssociationOverride().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
AssociationOverride
public List<Convert> getConvert()
Gets the value of the convert property.
<p> 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 <CODE>set</CODE> method for the convert property.
<p> For example, to add a new item, do as follows: <pre> getConvert().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
Convert
public String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic AccessType getAccess()
Gets the value of the access property.
AccessTypepublic void setAccess(AccessType value)
Sets the value of the access property.
value - allowed object is
AccessTypeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.