|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Attributes
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 Detail |
|---|
Id[] getId()
IdId getId(int idx)
Idint getIdLength()
void setId(Id[] values)
values - allowed objects are
Id
Id setId(int idx,
Id value)
value - allowed object is
IdEmbeddedId getEmbeddedId()
EmbeddedIdvoid setEmbeddedId(EmbeddedId value)
value - allowed object is
EmbeddedIdBasic[] getBasic()
BasicBasic getBasic(int idx)
Basicint getBasicLength()
void setBasic(Basic[] values)
values - allowed objects are
Basic
Basic setBasic(int idx,
Basic value)
value - allowed object is
BasicVersion[] getVersion()
VersionVersion getVersion(int idx)
Versionint getVersionLength()
void setVersion(Version[] values)
values - allowed objects are
Version
Version setVersion(int idx,
Version value)
value - allowed object is
VersionManyToOne[] getManyToOne()
ManyToOneManyToOne getManyToOne(int idx)
ManyToOneint getManyToOneLength()
void setManyToOne(ManyToOne[] values)
values - allowed objects are
ManyToOne
ManyToOne setManyToOne(int idx,
ManyToOne value)
value - allowed object is
ManyToOneOneToMany[] getOneToMany()
OneToManyOneToMany getOneToMany(int idx)
OneToManyint getOneToManyLength()
void setOneToMany(OneToMany[] values)
values - allowed objects are
OneToMany
OneToMany setOneToMany(int idx,
OneToMany value)
value - allowed object is
OneToManyOneToOne[] getOneToOne()
OneToOneOneToOne getOneToOne(int idx)
OneToOneint getOneToOneLength()
void setOneToOne(OneToOne[] values)
values - allowed objects are
OneToOne
OneToOne setOneToOne(int idx,
OneToOne value)
value - allowed object is
OneToOneManyToMany[] getManyToMany()
ManyToManyManyToMany getManyToMany(int idx)
ManyToManyint getManyToManyLength()
void setManyToMany(ManyToMany[] values)
values - allowed objects are
ManyToMany
ManyToMany setManyToMany(int idx,
ManyToMany value)
value - allowed object is
ManyToManyEmbedded[] getEmbedded()
EmbeddedEmbedded getEmbedded(int idx)
Embeddedint getEmbeddedLength()
void setEmbedded(Embedded[] values)
values - allowed objects are
Embedded
Embedded setEmbedded(int idx,
Embedded value)
value - allowed object is
EmbeddedTransient[] getTransient()
TransientTransient getTransient(int idx)
Transientint getTransientLength()
void setTransient(Transient[] values)
values - allowed objects are
Transient
Transient setTransient(int idx,
Transient value)
value - allowed object is
Transient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||