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://xmlns.jcp.org/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/> <element name="many-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/> <element name="one-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/> <element name="one-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/> <element name="many-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/> <element name="element-collection" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}element-collection" maxOccurs="unbounded" minOccurs="0"/> <element name="embedded" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/> <element name="transient" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Transient> |
_transient |
protected List<Basic> |
basic |
protected List<ElementCollection> |
elementCollection |
protected List<Embedded> |
embedded |
protected List<ManyToMany> |
manyToMany |
protected List<ManyToOne> |
manyToOne |
protected List<OneToMany> |
oneToMany |
protected List<OneToOne> |
oneToOne |
Constructor and Description |
---|
EmbeddableAttributes() |
Modifier and Type | Method and Description |
---|---|
List<Basic> |
getBasic()
Gets the value of the basic property.
|
List<ElementCollection> |
getElementCollection()
Gets the value of the elementCollection property.
|
List<Embedded> |
getEmbedded()
Gets the value of the embedded property.
|
List<ManyToMany> |
getManyToMany()
Gets the value of the manyToMany property.
|
List<ManyToOne> |
getManyToOne()
Gets the value of the manyToOne property.
|
List<OneToMany> |
getOneToMany()
Gets the value of the oneToMany property.
|
List<OneToOne> |
getOneToOne()
Gets the value of the oneToOne property.
|
List<Transient> |
getTransient()
Gets the value of the transient property.
|
protected List<ManyToMany> manyToMany
protected List<ElementCollection> elementCollection
public List<Basic> getBasic()
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
public List<ManyToOne> getManyToOne()
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 manyToOne property.
For example, to add a new item, do as follows:
getManyToOne().add(newItem);
Objects of the following type(s) are allowed in the list
ManyToOne
public List<OneToMany> getOneToMany()
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 oneToMany property.
For example, to add a new item, do as follows:
getOneToMany().add(newItem);
Objects of the following type(s) are allowed in the list
OneToMany
public List<OneToOne> getOneToOne()
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 oneToOne property.
For example, to add a new item, do as follows:
getOneToOne().add(newItem);
Objects of the following type(s) are allowed in the list
OneToOne
public List<ManyToMany> getManyToMany()
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 manyToMany property.
For example, to add a new item, do as follows:
getManyToMany().add(newItem);
Objects of the following type(s) are allowed in the list
ManyToMany
public List<ElementCollection> getElementCollection()
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 elementCollection property.
For example, to add a new item, do as follows:
getElementCollection().add(newItem);
Objects of the following type(s) are allowed in the list
ElementCollection
public List<Embedded> getEmbedded()
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 embedded property.
For example, to add a new item, do as follows:
getEmbedded().add(newItem);
Objects of the following type(s) are allowed in the list
Embedded
public List<Transient> getTransient()
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 © 2001-2015 Red Hat, Inc. All Rights Reserved.