|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.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.prot.indexed.valueclass.persistence.orm.Attributes instance. |
|
Attributes(Attributes o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.persistence.orm.Attributes instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Attributes |
clone()
Creates and returns a copy of this object. |
protected void |
copyBasic(Basic[] source)
Copies all values of property Basic. |
protected void |
copyEmbedded(Embedded[] source)
Copies all values of property Embedded. |
protected void |
copyId(Id[] source)
Copies all values of property Id. |
protected void |
copyManyToMany(ManyToMany[] source)
Copies all values of property ManyToMany. |
protected void |
copyManyToOne(ManyToOne[] source)
Copies all values of property ManyToOne. |
protected void |
copyOneToMany(OneToMany[] source)
Copies all values of property OneToMany. |
protected void |
copyOneToOne(OneToOne[] source)
Copies all values of property OneToOne. |
protected void |
copyTransient(Transient[] source)
Copies all values of property Transient. |
protected void |
copyVersion(Version[] source)
Copies all values of property Version. |
Basic[] |
getBasic()
|
Basic |
getBasic(int idx)
|
int |
getBasicLength()
|
Embedded[] |
getEmbedded()
|
Embedded |
getEmbedded(int idx)
|
EmbeddedId |
getEmbeddedId()
Gets the value of the embeddedId property. |
int |
getEmbeddedLength()
|
Id[] |
getId()
|
Id |
getId(int idx)
|
int |
getIdLength()
|
ManyToMany[] |
getManyToMany()
|
ManyToMany |
getManyToMany(int idx)
|
int |
getManyToManyLength()
|
ManyToOne[] |
getManyToOne()
|
ManyToOne |
getManyToOne(int idx)
|
int |
getManyToOneLength()
|
OneToMany[] |
getOneToMany()
|
OneToMany |
getOneToMany(int idx)
|
int |
getOneToManyLength()
|
OneToOne[] |
getOneToOne()
|
OneToOne |
getOneToOne(int idx)
|
int |
getOneToOneLength()
|
Transient[] |
getTransient()
|
Transient |
getTransient(int idx)
|
int |
getTransientLength()
|
Version[] |
getVersion()
|
Version |
getVersion(int idx)
|
int |
getVersionLength()
|
void |
setBasic(Basic[] values)
|
Basic |
setBasic(int idx,
Basic value)
|
void |
setEmbedded(Embedded[] values)
|
Embedded |
setEmbedded(int idx,
Embedded value)
|
void |
setEmbeddedId(EmbeddedId value)
Sets the value of the embeddedId property. |
void |
setId(Id[] values)
|
Id |
setId(int idx,
Id value)
|
ManyToMany |
setManyToMany(int idx,
ManyToMany value)
|
void |
setManyToMany(ManyToMany[] values)
|
ManyToOne |
setManyToOne(int idx,
ManyToOne value)
|
void |
setManyToOne(ManyToOne[] values)
|
OneToMany |
setOneToMany(int idx,
OneToMany value)
|
void |
setOneToMany(OneToMany[] values)
|
OneToOne |
setOneToOne(int idx,
OneToOne value)
|
void |
setOneToOne(OneToOne[] values)
|
Transient |
setTransient(int idx,
Transient value)
|
void |
setTransient(Transient[] values)
|
Version |
setVersion(int idx,
Version value)
|
void |
setVersion(Version[] values)
|
| 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.prot.indexed.valueclass.persistence.orm.Attributes instance.
public Attributes(Attributes o)
net.sourceforge.ccxjc.it.model.prot.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
Transientprotected void copyId(Id[] source)
Id.
source - The source to copy from.
NullPointerException - if source is null.protected void copyBasic(Basic[] source)
Basic.
source - The source to copy from.
NullPointerException - if source is null.protected void copyVersion(Version[] source)
Version.
source - The source to copy from.
NullPointerException - if source is null.protected void copyManyToOne(ManyToOne[] source)
ManyToOne.
source - The source to copy from.
NullPointerException - if source is null.protected void copyOneToMany(OneToMany[] source)
OneToMany.
source - The source to copy from.
NullPointerException - if source is null.protected void copyOneToOne(OneToOne[] source)
OneToOne.
source - The source to copy from.
NullPointerException - if source is null.protected void copyManyToMany(ManyToMany[] source)
ManyToMany.
source - The source to copy from.
NullPointerException - if source is null.protected void copyEmbedded(Embedded[] source)
Embedded.
source - The source to copy from.
NullPointerException - if source is null.protected void copyTransient(Transient[] source)
Transient.
source - The source to copy from.
NullPointerException - if source is null.public Attributes clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||