Class JaxbNaturalIdImpl
- All Implemented Interfaces:
Serializable
,JaxbBaseAttributesContainer
,JaxbNaturalId
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<JaxbAnyMappingImpl>
protected List<JaxbBasicImpl>
protected JaxbCachingImpl
protected List<JaxbEmbeddedImpl>
protected List<JaxbManyToOneImpl>
protected Boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the anyMappingAttributes property.Gets the value of the basicAttributes property.Gets the value of the caching property.Gets the value of the embeddedAttributes property.Gets the value of the manyToOneAttributes property.boolean
Gets the value of the mutable property.void
setCaching
(JaxbCachingImpl value) Sets the value of the caching property.void
setMutable
(Boolean value) Sets the value of the mutable property.
-
Field Details
-
caching
-
basicAttributes
-
manyToOneAttributes
-
embeddedAttributes
-
anyMappingAttributes
-
mutable
-
-
Constructor Details
-
JaxbNaturalIdImpl
public JaxbNaturalIdImpl()
-
-
Method Details
-
getCaching
Gets the value of the caching property.- Specified by:
getCaching
in interfaceJaxbNaturalId
- Returns:
- possible object is
JaxbCachingImpl
-
setCaching
Sets the value of the caching property.- Parameters:
value
- allowed object isJaxbCachingImpl
-
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 JAXB object. This is why there is not a
set
method 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
JaxbBasicImpl
- Specified by:
getBasicAttributes
in interfaceJaxbBaseAttributesContainer
- Returns:
- The value of the basicAttributes 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 JAXB object. This is why there is not a
set
method 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
JaxbManyToOneImpl
- Specified by:
getManyToOneAttributes
in interfaceJaxbBaseAttributesContainer
- Returns:
- The value of the manyToOneAttributes 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 JAXB object. This is why there is not a
set
method 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
JaxbEmbeddedImpl
- Specified by:
getEmbeddedAttributes
in interfaceJaxbBaseAttributesContainer
- Returns:
- The value of the embeddedAttributes property.
-
getAnyMappingAttributes
Gets the value of the anyMappingAttributes 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 JAXB object. This is why there is not a
set
method for the anyMappingAttributes property.For example, to add a new item, do as follows:
getAnyMappingAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbAnyMappingImpl
- Specified by:
getAnyMappingAttributes
in interfaceJaxbBaseAttributesContainer
- Returns:
- The value of the anyMappingAttributes property.
-
isMutable
public boolean isMutable()Gets the value of the mutable property.- Specified by:
isMutable
in interfaceJaxbNaturalId
- Returns:
- possible object is
Boolean
-
setMutable
Sets the value of the mutable property.- Parameters:
value
- allowed object isBoolean
-