| java.lang.Object org.apache.openejb.jee.jpa.Attributes
Attributes | public class Attributes (Code) | | This element contains the entity field or property mappings.
It may be sparsely populated to include only a subset of the
fields or properties. If metadata-complete for the entity is true
then the remainder of the attributes will be defaulted according
to the default rules.
Java class for attributes complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attributes">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="id" type="{http://java.sun.com/xml/ns/persistence/orm}id" maxOccurs="unbounded" minOccurs="0"/>
<element name="embedded-id" type="{http://java.sun.com/xml/ns/persistence/orm}embedded-id" minOccurs="0"/>
</choice>
<element name="basic" type="{http://java.sun.com/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/>
<element name="version" type="{http://java.sun.com/xml/ns/persistence/orm}version" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-one" type="{http://java.sun.com/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/>
<element name="one-to-many" type="{http://java.sun.com/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/>
<element name="one-to-one" type="{http://java.sun.com/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-many" type="{http://java.sun.com/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/>
<element name="embedded" type="{http://java.sun.com/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/>
<element name="transient" type="{http://java.sun.com/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
|
Method Summary | |
public List<Basic> | getBasic() Gets the value of the basic property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<Embedded> | getEmbedded() Gets the value of the embedded property.
This accessor method returns a reference to the live list,
not a snapshot. | public EmbeddedId | getEmbeddedId() Gets the value of the embeddedId property. | public List<Id> | getId() Gets the value of the id property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<ManyToMany> | getManyToMany() Gets the value of the manyToMany property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<ManyToOne> | getManyToOne() Gets the value of the manyToOne property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<OneToMany> | getOneToMany() Gets the value of the oneToMany property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<OneToOne> | getOneToOne() Gets the value of the oneToOne property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<Transient> | getTransient() Gets the value of the transient property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<Version> | getVersion() Gets the value of the version property.
This accessor method returns a reference to the live list,
not a snapshot. | public void | setEmbeddedId(EmbeddedId value) Sets the value of the embeddedId property. |
getBasic | public List<Basic> getBasic()(Code) | | 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 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 |
getEmbedded | public List<Embedded> getEmbedded()(Code) | | 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 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 |
getId | public List<Id> getId()(Code) | | Gets the value of the id 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 JAXB object.
This is why there is not a set method for the id property.
For example, to add a new item, do as follows:
getId().add(newItem);
Objects of the following type(s) are allowed in the list
Id |
getManyToMany | public List<ManyToMany> getManyToMany()(Code) | | 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 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 |
getManyToOne | public List<ManyToOne> getManyToOne()(Code) | | 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 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 |
getOneToMany | public List<OneToMany> getOneToMany()(Code) | | 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 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 |
getOneToOne | public List<OneToOne> getOneToOne()(Code) | | 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 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 |
getTransient | public List<Transient> getTransient()(Code) | | 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 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 |
getVersion | public List<Version> getVersion()(Code) | | Gets the value of the version 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 JAXB object.
This is why there is not a set method for the version property.
For example, to add a new item, do as follows:
getVersion().add(newItem);
Objects of the following type(s) are allowed in the list
Version |
setEmbeddedId | public void setEmbeddedId(EmbeddedId value)(Code) | | Sets the value of the embeddedId property.
Parameters: value - allowed object isEmbeddedId |
|
|