public class JaxbAttributes extends 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 List<JaxbTransient> |
_transient |
protected List<JaxbBasic> |
basic |
protected String |
description |
protected List<JaxbElementCollection> |
elementCollection |
protected List<JaxbEmbedded> |
embedded |
protected JaxbEmbeddedId |
embeddedId |
protected List<JaxbId> |
id |
protected List<JaxbManyToMany> |
manyToMany |
protected List<JaxbManyToOne> |
manyToOne |
protected List<JaxbOneToMany> |
oneToMany |
protected List<JaxbOneToOne> |
oneToOne |
protected List<JaxbVersion> |
version |
Constructor and Description |
---|
JaxbAttributes() |
Modifier and Type | Method and Description |
---|---|
List<JaxbBasic> |
getBasic()
Gets the value of the basic property.
|
String |
getDescription()
Gets the value of the description property.
|
List<JaxbElementCollection> |
getElementCollection()
Gets the value of the elementCollection property.
|
List<JaxbEmbedded> |
getEmbedded()
Gets the value of the embedded property.
|
JaxbEmbeddedId |
getEmbeddedId()
Gets the value of the embeddedId property.
|
List<JaxbId> |
getId()
Gets the value of the id property.
|
List<JaxbManyToMany> |
getManyToMany()
Gets the value of the manyToMany property.
|
List<JaxbManyToOne> |
getManyToOne()
Gets the value of the manyToOne property.
|
List<JaxbOneToMany> |
getOneToMany()
Gets the value of the oneToMany property.
|
List<JaxbOneToOne> |
getOneToOne()
Gets the value of the oneToOne property.
|
List<JaxbTransient> |
getTransient()
Gets the value of the transient property.
|
List<JaxbVersion> |
getVersion()
Gets the value of the version property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEmbeddedId(JaxbEmbeddedId value)
Sets the value of the embeddedId property.
|
protected String description
protected JaxbEmbeddedId embeddedId
protected List<JaxbVersion> version
protected List<JaxbManyToOne> manyToOne
protected List<JaxbOneToMany> oneToMany
protected List<JaxbOneToOne> oneToOne
protected List<JaxbManyToMany> manyToMany
protected List<JaxbElementCollection> elementCollection
protected List<JaxbEmbedded> embedded
protected List<JaxbTransient> _transient
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<JaxbId> 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
JaxbId
public JaxbEmbeddedId getEmbeddedId()
JaxbEmbeddedId
public void setEmbeddedId(JaxbEmbeddedId value)
value
- allowed object is
JaxbEmbeddedId
public List<JaxbBasic> 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
JaxbBasic
public List<JaxbVersion> 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
JaxbVersion
public List<JaxbManyToOne> 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
JaxbManyToOne
public List<JaxbOneToMany> 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
JaxbOneToMany
public List<JaxbOneToOne> 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
JaxbOneToOne
public List<JaxbManyToMany> 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
JaxbManyToMany
public List<JaxbElementCollection> getElementCollection()
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 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
JaxbElementCollection
public List<JaxbEmbedded> 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
JaxbEmbedded
public List<JaxbTransient> 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
JaxbTransient
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.