public class Attributes extends Object
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.
<p>Java class for attributes complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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://xmlns.jcp.org/xml/ns/persistence/orm}id" maxOccurs="unbounded" minOccurs="0"/> <element name="embedded-id" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embedded-id" minOccurs="0"/> </choice> <element name="basic" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/> <element name="version" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}version" maxOccurs="unbounded" minOccurs="0"/> <element name="many-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/> <element name="one-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/> <element name="one-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/> <element name="many-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/> <element name="element-collection" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}element-collection" maxOccurs="unbounded" minOccurs="0"/> <element name="embedded" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/> <element name="transient" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected List<Transient> |
_transient |
protected List<Basic> |
basic |
protected String |
description |
protected List<ElementCollection> |
elementCollection |
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 and Description |
|---|
Attributes() |
| Modifier and Type | Method and Description |
|---|---|
List<Basic> |
getBasic()
Gets the value of the basic property.
|
String |
getDescription()
Gets the value of the description property.
|
List<ElementCollection> |
getElementCollection()
Gets the value of the elementCollection 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 |
setDescription(String value)
Sets the value of the description property.
|
void |
setEmbeddedId(EmbeddedId value)
Sets the value of the embeddedId property.
|
protected String description
protected EmbeddedId embeddedId
protected List<ManyToMany> manyToMany
protected List<ElementCollection> elementCollection
public String getDescription()
Gets the value of the description property.
Stringpublic void setDescription(String value)
Sets the value of the description property.
value - allowed object is
Stringpublic List<Id> getId()
Gets the value of the id property.
<p> 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 <CODE>set</CODE> method for the id property.
<p> For example, to add a new item, do as follows: <pre> getId().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
Id
public EmbeddedId getEmbeddedId()
Gets the value of the embeddedId property.
EmbeddedIdpublic void setEmbeddedId(EmbeddedId value)
Sets the value of the embeddedId property.
value - allowed object is
EmbeddedIdpublic List<Basic> getBasic()
Gets the value of the basic property.
<p> 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 <CODE>set</CODE> method for the basic property.
<p> For example, to add a new item, do as follows: <pre> getBasic().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
Basic
public List<Version> getVersion()
Gets the value of the version property.
<p> 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 <CODE>set</CODE> method for the version property.
<p> For example, to add a new item, do as follows: <pre> getVersion().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
Version
public List<ManyToOne> getManyToOne()
Gets the value of the manyToOne property.
<p> 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 <CODE>set</CODE> method for the manyToOne property.
<p> For example, to add a new item, do as follows: <pre> getManyToOne().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
ManyToOne
public List<OneToMany> getOneToMany()
Gets the value of the oneToMany property.
<p> 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 <CODE>set</CODE> method for the oneToMany property.
<p> For example, to add a new item, do as follows: <pre> getOneToMany().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
OneToMany
public List<OneToOne> getOneToOne()
Gets the value of the oneToOne property.
<p> 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 <CODE>set</CODE> method for the oneToOne property.
<p> For example, to add a new item, do as follows: <pre> getOneToOne().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
OneToOne
public List<ManyToMany> getManyToMany()
Gets the value of the manyToMany property.
<p> 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 <CODE>set</CODE> method for the manyToMany property.
<p> For example, to add a new item, do as follows: <pre> getManyToMany().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
ManyToMany
public List<ElementCollection> getElementCollection()
Gets the value of the elementCollection property.
<p> 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 <CODE>set</CODE> method for the elementCollection property.
<p> For example, to add a new item, do as follows: <pre> getElementCollection().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
ElementCollection
public List<Embedded> getEmbedded()
Gets the value of the embedded property.
<p> 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 <CODE>set</CODE> method for the embedded property.
<p> For example, to add a new item, do as follows: <pre> getEmbedded().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
Embedded
public List<Transient> getTransient()
Gets the value of the transient property.
<p> 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 <CODE>set</CODE> method for the transient property.
<p> For example, to add a new item, do as follows: <pre> getTransient().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
Transient
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.