Class JaxbAttributes
- All Implemented Interfaces:
Serializable,AttributesContainer
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://www.hibernate.org/xsd/orm/mapping}id" maxOccurs="unbounded" minOccurs="0"/>
<element name="embedded-id" type="{http://www.hibernate.org/xsd/orm/mapping}embedded-id" minOccurs="0"/>
</choice>
<element name="natural-id" type="{http://www.hibernate.org/xsd/orm/mapping}natural-id" minOccurs="0"/>
<element name="basic" type="{http://www.hibernate.org/xsd/orm/mapping}basic" maxOccurs="unbounded" minOccurs="0"/>
<element name="version" type="{http://www.hibernate.org/xsd/orm/mapping}version" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/mapping}many-to-one" maxOccurs="unbounded" minOccurs="0"/>
<element name="one-to-many" type="{http://www.hibernate.org/xsd/orm/mapping}one-to-many" maxOccurs="unbounded" minOccurs="0"/>
<element name="one-to-one" type="{http://www.hibernate.org/xsd/orm/mapping}one-to-one" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-many" type="{http://www.hibernate.org/xsd/orm/mapping}many-to-many" maxOccurs="unbounded" minOccurs="0"/>
<element name="element-collection" type="{http://www.hibernate.org/xsd/orm/mapping}element-collection" maxOccurs="unbounded" minOccurs="0"/>
<element name="embedded" type="{http://www.hibernate.org/xsd/orm/mapping}embedded" maxOccurs="unbounded" minOccurs="0"/>
<element name="transient" type="{http://www.hibernate.org/xsd/orm/mapping}transient" maxOccurs="unbounded" minOccurs="0"/>
<element name="any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-any-mapping" maxOccurs="unbounded" minOccurs="0"/>
<element name="many-to-any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-many-to-any" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<JaxbHbmAnyMapping>protected List<JaxbElementCollection>protected List<JaxbEmbedded>protected JaxbEmbeddedIdprotected List<JaxbManyToMany>protected List<JaxbManyToOne>protected JaxbNaturalIdprotected List<JaxbOneToMany>protected List<JaxbOneToOne>protected List<JaxbHbmManyToAny>protected List<JaxbTransient>protected List<JaxbVersion> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the basicAttributes property.Gets the value of the description property.Gets the value of the discriminatedAssociations property.Gets the value of the elementCollectionAttributes property.Gets the value of the embeddedAttributes property.Gets the value of the embeddedId property.getId()Gets the value of the id property.Gets the value of the manyToManyAttributes property.Gets the value of the manyToOneAttributes property.Gets the value of the naturalId property.Gets the value of the oneToManyAttributes property.Gets the value of the oneToOneAttributes property.Gets the value of the pluralDiscriminatedAssociations property.Gets the value of the transients property.Gets the value of the version property.voidsetDescription(String value) Sets the value of the description property.voidsetEmbeddedId(JaxbEmbeddedId value) Sets the value of the embeddedId property.voidsetNaturalId(JaxbNaturalId value) Sets the value of the naturalId property.
-
Field Details
-
description
-
id
-
embeddedId
-
naturalId
-
basicAttributes
-
version
-
manyToOneAttributes
-
oneToManyAttributes
-
oneToOneAttributes
-
manyToManyAttributes
-
elementCollectionAttributes
-
embeddedAttributes
-
transients
-
discriminatedAssociations
-
pluralDiscriminatedAssociations
-
-
Constructor Details
-
JaxbAttributes
public JaxbAttributes()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the id property.
-
getEmbeddedId
Gets the value of the embeddedId property.- Returns:
- possible object is
JaxbEmbeddedId
-
setEmbeddedId
Sets the value of the embeddedId property.- Parameters:
value- allowed object isJaxbEmbeddedId
-
getNaturalId
Gets the value of the naturalId property.- Returns:
- possible object is
JaxbNaturalId
-
setNaturalId
Sets the value of the naturalId property.- Parameters:
value- allowed object isJaxbNaturalId
-
getBasicAttributes
Gets the value of the basicAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the basicAttributes property.For example, to add a new item, do as follows:
getBasicAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbBasic- Specified by:
getBasicAttributesin interfaceAttributesContainer- Returns:
- The value of the basicAttributes property.
-
getVersion
Gets the value of the version property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the version property.
-
getManyToOneAttributes
Gets the value of the manyToOneAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the manyToOneAttributes property.For example, to add a new item, do as follows:
getManyToOneAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbManyToOne- Specified by:
getManyToOneAttributesin interfaceAttributesContainer- Returns:
- The value of the manyToOneAttributes property.
-
getOneToManyAttributes
Gets the value of the oneToManyAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the oneToManyAttributes property.For example, to add a new item, do as follows:
getOneToManyAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbOneToMany- Specified by:
getOneToManyAttributesin interfaceAttributesContainer- Returns:
- The value of the oneToManyAttributes property.
-
getOneToOneAttributes
Gets the value of the oneToOneAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the oneToOneAttributes property.For example, to add a new item, do as follows:
getOneToOneAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbOneToOne- Specified by:
getOneToOneAttributesin interfaceAttributesContainer- Returns:
- The value of the oneToOneAttributes property.
-
getManyToManyAttributes
Gets the value of the manyToManyAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the manyToManyAttributes property.For example, to add a new item, do as follows:
getManyToManyAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbManyToMany- Specified by:
getManyToManyAttributesin interfaceAttributesContainer- Returns:
- The value of the manyToManyAttributes property.
-
getElementCollectionAttributes
Gets the value of the elementCollectionAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the elementCollectionAttributes property.For example, to add a new item, do as follows:
getElementCollectionAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbElementCollection- Specified by:
getElementCollectionAttributesin interfaceAttributesContainer- Returns:
- The value of the elementCollectionAttributes property.
-
getEmbeddedAttributes
Gets the value of the embeddedAttributes property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the embeddedAttributes property.For example, to add a new item, do as follows:
getEmbeddedAttributes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbEmbedded- Specified by:
getEmbeddedAttributesin interfaceAttributesContainer- Returns:
- The value of the embeddedAttributes property.
-
getTransients
Gets the value of the transients property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the transients property.For example, to add a new item, do as follows:
getTransients().add(newItem);Objects of the following type(s) are allowed in the list
JaxbTransient- Specified by:
getTransientsin interfaceAttributesContainer- Returns:
- The value of the transients property.
-
getDiscriminatedAssociations
Gets the value of the discriminatedAssociations property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the discriminatedAssociations property.For example, to add a new item, do as follows:
getDiscriminatedAssociations().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmAnyMapping- Specified by:
getDiscriminatedAssociationsin interfaceAttributesContainer- Returns:
- The value of the discriminatedAssociations property.
-
getPluralDiscriminatedAssociations
Gets the value of the pluralDiscriminatedAssociations property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the pluralDiscriminatedAssociations property.For example, to add a new item, do as follows:
getPluralDiscriminatedAssociations().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmManyToAny- Specified by:
getPluralDiscriminatedAssociationsin interfaceAttributesContainer- Returns:
- The value of the pluralDiscriminatedAssociations property.
-