public class Attributes
extends java.lang.Object
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> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <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="element-collection" type="{http://java.sun.com/xml/ns/persistence/orm}element-collection" 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>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Transient> |
_transient |
protected java.util.List<Basic> |
basic |
protected java.lang.String |
description |
protected java.util.List<ElementCollection> |
elementCollection |
protected java.util.List<Embedded> |
embedded |
protected EmbeddedId |
embeddedId |
protected java.util.List<Id> |
id |
protected java.util.List<ManyToMany> |
manyToMany |
protected java.util.List<ManyToOne> |
manyToOne |
protected java.util.List<OneToMany> |
oneToMany |
protected java.util.List<OneToOne> |
oneToOne |
protected java.util.List<Version> |
version |
Constructor and Description |
---|
Attributes() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Basic> |
getBasic()
Gets the value of the basic property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<ElementCollection> |
getElementCollection()
Gets the value of the elementCollection property.
|
java.util.List<Embedded> |
getEmbedded()
Gets the value of the embedded property.
|
EmbeddedId |
getEmbeddedId()
Gets the value of the embeddedId property.
|
java.util.List<Id> |
getId()
Gets the value of the id property.
|
java.util.List<ManyToMany> |
getManyToMany()
Gets the value of the manyToMany property.
|
java.util.List<ManyToOne> |
getManyToOne()
Gets the value of the manyToOne property.
|
java.util.List<OneToMany> |
getOneToMany()
Gets the value of the oneToMany property.
|
java.util.List<OneToOne> |
getOneToOne()
Gets the value of the oneToOne property.
|
java.util.Map<java.lang.String,RelationField> |
getRelationshipFieldMap() |
java.util.List<Transient> |
getTransient()
Gets the value of the transient property.
|
java.util.List<Version> |
getVersion()
Gets the value of the version property.
|
boolean |
isEmpty() |
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setEmbeddedId(EmbeddedId value)
Sets the value of the embeddedId property.
|
protected java.lang.String description
protected java.util.List<Id> id
protected EmbeddedId embeddedId
protected java.util.List<Basic> basic
protected java.util.List<Version> version
protected java.util.List<ManyToOne> manyToOne
protected java.util.List<OneToMany> oneToMany
protected java.util.List<OneToOne> oneToOne
protected java.util.List<ManyToMany> manyToMany
protected java.util.List<ElementCollection> elementCollection
protected java.util.List<Embedded> embedded
protected java.util.List<Transient> _transient
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public java.util.List<Id> getId()
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()
EmbeddedId
public void setEmbeddedId(EmbeddedId value)
value
- allowed object is
EmbeddedId
public java.util.List<Basic> getBasic()
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 java.util.List<Version> getVersion()
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 java.util.List<ManyToOne> getManyToOne()
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 java.util.List<OneToMany> getOneToMany()
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 java.util.List<OneToOne> getOneToOne()
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 java.util.List<ManyToMany> getManyToMany()
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 java.util.Map<java.lang.String,RelationField> getRelationshipFieldMap()
public java.util.List<ElementCollection> getElementCollection()
set
method for the elementCollection property.
For example, to add a new item, do as follows:
getElementCollection().add(newItem);Objects of the following type(s) are allowed in the list
ElementCollection
public java.util.List<Embedded> getEmbedded()
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 java.util.List<Transient> getTransient()
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 boolean isEmpty()