Class JaxbNaturalId
- All Implemented Interfaces:
Serializable
Java class for natural-id complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="natural-id">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cache" type="{http://www.hibernate.org/xsd/orm/mapping}caching" minOccurs="0"/>
<element name="basic" type="{http://www.hibernate.org/xsd/orm/mapping}basic" 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="embedded" type="{http://www.hibernate.org/xsd/orm/mapping}embedded" maxOccurs="unbounded" minOccurs="0"/>
<element name="any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-any-mapping" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="mutable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<JaxbHbmAnyMapping>protected JaxbCachingprotected List<JaxbEmbedded>protected List<JaxbManyToOne>protected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Gets the value of the any property.getBasic()Gets the value of the basic property.getCache()Gets the value of the cache property.Gets the value of the embedded property.Gets the value of the manyToOne property.booleanGets the value of the mutable property.voidsetCache(JaxbCaching value) Sets the value of the cache property.voidsetMutable(Boolean value) Sets the value of the mutable property.
-
Field Details
-
cache
-
basic
-
manyToOne
-
embedded
-
any
-
mutable
-
-
Constructor Details
-
JaxbNaturalId
public JaxbNaturalId()
-
-
Method Details
-
getCache
Gets the value of the cache property.- Returns:
- possible object is
JaxbCaching
-
setCache
Sets the value of the cache property.- Parameters:
value- allowed object isJaxbCaching
-
getBasic
Gets the value of the basic 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 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- Returns:
- The value of the basic property.
-
getManyToOne
Gets the value of the manyToOne 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 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- Returns:
- The value of the manyToOne property.
-
getEmbedded
Gets the value of the embedded 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 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- Returns:
- The value of the embedded property.
-
getAny
Gets the value of the any 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 any property.For example, to add a new item, do as follows:
getAny().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmAnyMapping- Returns:
- The value of the any property.
-
isMutable
public boolean isMutable()Gets the value of the mutable property.- Returns:
- possible object is
Boolean
-
setMutable
Sets the value of the mutable property.- Parameters:
value- allowed object isBoolean
-