Class JaxbHbmDynamicComponentType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmDynamicComponentType
- All Implemented Interfaces:
Serializable
A dynamic-component maps columns of the database entity to a java.util.Map
at the Java level
<p>Java class for dynamic-component-type complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="dynamic-component-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded" minOccurs="0">
<group ref="{http://www.hibernate.org/xsd/orm/hbm}SingularAttributeGroup"/>
</choice>
</sequence>
<attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributes property.getName()Gets the value of the name property.getNode()Gets the value of the node property.booleanisInsert()Gets the value of the insert property.booleanGets the value of the optimisticLock property.booleanisUnique()Gets the value of the unique property.booleanisUpdate()Gets the value of the update property.voidSets the value of the access property.voidSets the value of the insert property.voidSets the value of the name property.voidSets the value of the node property.voidsetOptimisticLock(Boolean value) Sets the value of the optimisticLock property.voidSets the value of the unique property.voidSets the value of the update property.
-
Field Details
-
attributes
-
access
-
insert
-
name
-
node
-
optimisticLock
-
unique
-
update
-
-
Constructor Details
-
JaxbHbmDynamicComponentType
public JaxbHbmDynamicComponentType()
-
-
Method Details
-
getAttributes
Gets the value of the attributes 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 attributes property.For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmAnyAssociationTypeJaxbHbmArrayTypeJaxbHbmBagCollectionTypeJaxbHbmBasicAttributeTypeJaxbHbmCompositeAttributeTypeJaxbHbmDynamicComponentTypeJaxbHbmListTypeJaxbHbmManyToOneTypeJaxbHbmMapTypeJaxbHbmOneToOneTypeJaxbHbmPrimitiveArrayTypeJaxbHbmPropertiesTypeJaxbHbmSetType- Returns:
- The value of the attributes property.
-
getAccess
-
setAccess
-
isInsert
public boolean isInsert()Gets the value of the insert property.- Returns:
- possible object is
Boolean
-
setInsert
-
getName
-
setName
-
getNode
-
setNode
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
-
isUnique
public boolean isUnique()Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
-
isUpdate
public boolean isUpdate()Gets the value of the update property.- Returns:
- possible object is
Boolean
-
setUpdate
-