|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.collections.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 List<Transient> |
_transient
|
protected List<Basic> |
basic
|
protected List<Embedded> |
embedded
|
protected EmbeddedId |
embeddedId
|
protected List<Id> |
id
|
protected List<ManyToMany> |
manyToMany
|
protected List<ManyToOne> |
manyToOne
|
protected List<OneToMany> |
oneToMany
|
protected List<OneToOne> |
oneToOne
|
protected List<Version> |
version
|
| Constructor Summary | |
|---|---|
Attributes()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.Attributes instance. |
|
Attributes(Attributes o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.Attributes instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Attributes |
clone()
Creates and returns a copy of this object. |
static void |
copyBasic(List<Basic> source,
List<Basic> target)
Copies all values of property Basic. |
static void |
copyEmbedded(List<Embedded> source,
List<Embedded> target)
Copies all values of property Embedded. |
static void |
copyId(List<Id> source,
List<Id> target)
Copies all values of property Id. |
static void |
copyManyToMany(List<ManyToMany> source,
List<ManyToMany> target)
Copies all values of property ManyToMany. |
static void |
copyManyToOne(List<ManyToOne> source,
List<ManyToOne> target)
Copies all values of property ManyToOne. |
static void |
copyOneToMany(List<OneToMany> source,
List<OneToMany> target)
Copies all values of property OneToMany. |
static void |
copyOneToOne(List<OneToOne> source,
List<OneToOne> target)
Copies all values of property OneToOne. |
static void |
copyTransient(List<Transient> source,
List<Transient> target)
Copies all values of property Transient. |
static void |
copyVersion(List<Version> source,
List<Version> target)
Copies all values of property Version. |
List<Basic> |
getBasic()
Gets the value of the basic property. |
List<Embedded> |
getEmbedded()
Gets the value of the embedded property. |
EmbeddedId |
getEmbeddedId()
Gets the value of the embeddedId property. |
List<Id> |
getId()
Gets the value of the id property. |
List<ManyToMany> |
getManyToMany()
Gets the value of the manyToMany property. |
List<ManyToOne> |
getManyToOne()
Gets the value of the manyToOne property. |
List<OneToMany> |
getOneToMany()
Gets the value of the oneToMany property. |
List<OneToOne> |
getOneToOne()
Gets the value of the oneToOne property. |
List<Transient> |
getTransient()
Gets the value of the transient property. |
List<Version> |
getVersion()
Gets the value of the version property. |
void |
setEmbeddedId(EmbeddedId value)
Sets the value of the embeddedId property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Id> id
protected EmbeddedId embeddedId
protected List<Basic> basic
protected List<Version> version
protected List<ManyToOne> manyToOne
protected List<OneToMany> oneToMany
protected List<OneToOne> oneToOne
protected List<ManyToMany> manyToMany
protected List<Embedded> embedded
protected List<Transient> _transient
| Constructor Detail |
|---|
public Attributes()
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.Attributes instance.
public Attributes(Attributes o)
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.persistence.orm.Attributes instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<Id> getId()
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
public EmbeddedId getEmbeddedId()
EmbeddedIdpublic void setEmbeddedId(EmbeddedId value)
value - allowed object is
EmbeddedIdpublic List<Basic> getBasic()
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
public List<Version> getVersion()
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
public List<ManyToOne> getManyToOne()
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
public List<OneToMany> getOneToMany()
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
public List<OneToOne> getOneToOne()
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
public List<ManyToMany> getManyToMany()
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
public List<Embedded> getEmbedded()
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
public List<Transient> getTransient()
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
public static void copyId(List<Id> source,
List<Id> target)
Id.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyBasic(List<Basic> source,
List<Basic> target)
Basic.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyVersion(List<Version> source,
List<Version> target)
Version.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyManyToOne(List<ManyToOne> source,
List<ManyToOne> target)
ManyToOne.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyOneToMany(List<OneToMany> source,
List<OneToMany> target)
OneToMany.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyOneToOne(List<OneToOne> source,
List<OneToOne> target)
OneToOne.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyManyToMany(List<ManyToMany> source,
List<ManyToMany> target)
ManyToMany.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyEmbedded(List<Embedded> source,
List<Embedded> target)
Embedded.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyTransient(List<Transient> source,
List<Transient> target)
Transient.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target 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 | |||||||||