Class JaxbEmbedded
- All Implemented Interfaces:
Serializable
,PersistentAttribute
Java class for embedded complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="embedded">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="attribute-override" type="{http://www.hibernate.org/xsd/orm/mapping}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
<element name="association-override" type="{http://www.hibernate.org/xsd/orm/mapping}association-override" maxOccurs="unbounded" minOccurs="0"/>
<element name="convert" type="{http://www.hibernate.org/xsd/orm/mapping}convert" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
<attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessType
protected List<JaxbAssociationOverride>
protected String
protected List<JaxbAttributeOverride>
protected List<JaxbConvert>
protected String
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the associationOverride property.Gets the value of the attributeAccessor property.Gets the value of the attributeOverride property.Gets the value of the convert property.getName()
Gets the value of the name property.boolean
Gets the value of the optimisticLock property.void
setAccess
(AccessType value) Sets the value of the access property.void
setAttributeAccessor
(String value) Sets the value of the attributeAccessor property.void
Sets the value of the name property.void
setOptimisticLock
(Boolean value) Sets the value of the optimisticLock property.
-
Field Details
-
attributeOverride
-
associationOverride
-
convert
-
name
-
access
-
attributeAccessor
-
optimisticLock
-
-
Constructor Details
-
JaxbEmbedded
public JaxbEmbedded()
-
-
Method Details
-
getAttributeOverride
Gets the value of the attributeOverride 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
set
method for the attributeOverride property.For example, to add a new item, do as follows:
getAttributeOverride().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbAttributeOverride
- Returns:
- The value of the attributeOverride property.
-
getAssociationOverride
Gets the value of the associationOverride 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
set
method for the associationOverride property.For example, to add a new item, do as follows:
getAssociationOverride().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbAssociationOverride
- Returns:
- The value of the associationOverride property.
-
getConvert
Gets the value of the convert 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
set
method for the convert property.For example, to add a new item, do as follows:
getConvert().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbConvert
- Returns:
- The value of the convert property.
-
getName
Gets the value of the name property.- Specified by:
getName
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setName
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getAccess
Gets the value of the access property.- Specified by:
getAccess
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccess
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessor
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessor
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Parameters:
value
- allowed object isBoolean
-