Class EmbeddableAttributes
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="{https://jakarta.ee/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-one" type="{https://jakarta.ee/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/>
<element name="one-to-many" type="{https://jakarta.ee/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/>
<element name="one-to-one" type="{https://jakarta.ee/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-many" type="{https://jakarta.ee/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/>
<element name="element-collection" type="{https://jakarta.ee/xml/ns/persistence/orm}element-collection" maxOccurs="unbounded" minOccurs="0"/>
<element name="embedded" type="{https://jakarta.ee/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/>
<element name="transient" type="{https://jakarta.ee/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBasic()Gets the value of the basic property.Gets the value of the elementCollection property.Gets the value of the embedded property.Gets the value of the manyToMany property.Gets the value of the manyToOne property.Gets the value of the oneToMany property.Gets the value of the oneToOne property.Gets the value of the transient property.
-
Field Details
-
basic
-
manyToOne
-
oneToMany
-
oneToOne
-
manyToMany
-
elementCollection
-
embedded
-
_transient
-
-
Constructor Details
-
EmbeddableAttributes
public EmbeddableAttributes()
-
-
Method Details
-
getBasic
Gets the value of the basic 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the basic property.
-
getManyToOne
Gets the value of the manyToOne 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the manyToOne property.
-
getOneToMany
Gets the value of the oneToMany 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the oneToMany property.
-
getOneToOne
Gets the value of the oneToOne 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the oneToOne property.
-
getManyToMany
Gets the value of the manyToMany 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the manyToMany property.
-
getElementCollection
Gets the value of the elementCollection 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the elementCollection property.
-
getEmbedded
Gets the value of the embedded 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the embedded property.
-
getTransient
Gets the value of the transient 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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the transient property.
-