|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.orm.Attributes
public class 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>
| Field Summary | |
|---|---|
protected Transient[] |
_transient
|
protected Basic[] |
basic
|
protected Embedded[] |
embedded
|
protected EmbeddedId |
embeddedId
|
protected Id[] |
id
|
protected ManyToMany[] |
manyToMany
|
protected ManyToOne[] |
manyToOne
|
protected OneToMany[] |
oneToMany
|
protected OneToOne[] |
oneToOne
|
protected Version[] |
version
|
| Constructor Summary | |
|---|---|
Attributes()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.orm.Attributes instance. |
|
Attributes(Attributes o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.orm.Attributes instance by copying a given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Id[] id
protected EmbeddedId embeddedId
protected Basic[] basic
protected Version[] version
protected ManyToOne[] manyToOne
protected OneToMany[] oneToMany
protected OneToOne[] oneToOne
protected ManyToMany[] manyToMany
protected Embedded[] embedded
protected Transient[] _transient
| Constructor Detail |
|---|
public Attributes()
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.orm.Attributes instance.
public Attributes(Attributes o)
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.orm.Attributes instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public Id[] getId()
Idpublic Id getId(int idx)
Idpublic int getIdLength()
public void setId(Id[] values)
values - allowed objects are
Id
public Id setId(int idx,
Id value)
value - allowed object is
Idpublic EmbeddedId getEmbeddedId()
EmbeddedIdpublic void setEmbeddedId(EmbeddedId value)
value - allowed object is
EmbeddedIdpublic Basic[] getBasic()
Basicpublic Basic getBasic(int idx)
Basicpublic int getBasicLength()
public void setBasic(Basic[] values)
values - allowed objects are
Basic
public Basic setBasic(int idx,
Basic value)
value - allowed object is
Basicpublic Version[] getVersion()
Versionpublic Version getVersion(int idx)
Versionpublic int getVersionLength()
public void setVersion(Version[] values)
values - allowed objects are
Version
public Version setVersion(int idx,
Version value)
value - allowed object is
Versionpublic ManyToOne[] getManyToOne()
ManyToOnepublic ManyToOne getManyToOne(int idx)
ManyToOnepublic int getManyToOneLength()
public void setManyToOne(ManyToOne[] values)
values - allowed objects are
ManyToOne
public ManyToOne setManyToOne(int idx,
ManyToOne value)
value - allowed object is
ManyToOnepublic OneToMany[] getOneToMany()
OneToManypublic OneToMany getOneToMany(int idx)
OneToManypublic int getOneToManyLength()
public void setOneToMany(OneToMany[] values)
values - allowed objects are
OneToMany
public OneToMany setOneToMany(int idx,
OneToMany value)
value - allowed object is
OneToManypublic OneToOne[] getOneToOne()
OneToOnepublic OneToOne getOneToOne(int idx)
OneToOnepublic int getOneToOneLength()
public void setOneToOne(OneToOne[] values)
values - allowed objects are
OneToOne
public OneToOne setOneToOne(int idx,
OneToOne value)
value - allowed object is
OneToOnepublic ManyToMany[] getManyToMany()
ManyToManypublic ManyToMany getManyToMany(int idx)
ManyToManypublic int getManyToManyLength()
public void setManyToMany(ManyToMany[] values)
values - allowed objects are
ManyToMany
public ManyToMany setManyToMany(int idx,
ManyToMany value)
value - allowed object is
ManyToManypublic Embedded[] getEmbedded()
Embeddedpublic Embedded getEmbedded(int idx)
Embeddedpublic int getEmbeddedLength()
public void setEmbedded(Embedded[] values)
values - allowed objects are
Embedded
public Embedded setEmbedded(int idx,
Embedded value)
value - allowed object is
Embeddedpublic Transient[] getTransient()
Transientpublic Transient getTransient(int idx)
Transientpublic int getTransientLength()
public void setTransient(Transient[] values)
values - allowed objects are
Transient
public Transient setTransient(int idx,
Transient value)
value - allowed object is
Transientpublic Attributes clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||