Class JaxbHbmDynamicComponentType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmDynamicComponentType
-
- All Implemented Interfaces:
Serializable
public class JaxbHbmDynamicComponentType extends Object implements Serializable
A dynamic-component maps columns of the database entity to a java.util.Map at the Java levelJava class for dynamic-component-type complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmDynamicComponentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccess()
Gets the value of the access property.List<Serializable>
getAttributes()
Gets the value of the attributes property.String
getName()
Gets the value of the name property.String
getNode()
Gets the value of the node property.boolean
isInsert()
Gets the value of the insert property.boolean
isOptimisticLock()
Gets the value of the optimisticLock property.boolean
isUnique()
Gets the value of the unique property.boolean
isUpdate()
Gets the value of the update property.void
setAccess(String value)
Sets the value of the access property.void
setInsert(Boolean value)
Sets the value of the insert property.void
setName(String value)
Sets the value of the name property.void
setNode(String value)
Sets the value of the node property.void
setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.void
setUnique(Boolean value)
Sets the value of the unique property.void
setUpdate(Boolean value)
Sets the value of the update property.
-
-
-
Method Detail
-
getAttributes
public List<Serializable> 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
set
method 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
JaxbHbmAnyAssociationType
JaxbHbmArrayType
JaxbHbmBagCollectionType
JaxbHbmBasicAttributeType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
JaxbHbmListType
JaxbHbmManyToOneType
JaxbHbmMapType
JaxbHbmOneToOneType
JaxbHbmPrimitiveArrayType
JaxbHbmPropertiesType
JaxbHbmSetType
- Returns:
- The value of the attributes property.
-
getAccess
public String getAccess()
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
public void setAccess(String value)
Sets the value of the access property.- Parameters:
value
- allowed object isString
-
isInsert
public boolean isInsert()
Gets the value of the insert property.- Returns:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- Parameters:
value
- allowed object isBoolean
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getNode
public String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(String value)
Sets the value of the node property.- Parameters:
value
- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.- Returns:
- possible object is
Boolean
-
setOptimisticLock
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.- Parameters:
value
- allowed object isBoolean
-
isUnique
public boolean isUnique()
Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
public void setUnique(Boolean value)
Sets the value of the unique property.- Parameters:
value
- allowed object isBoolean
-
isUpdate
public boolean isUpdate()
Gets the value of the update property.- Returns:
- possible object is
Boolean
-
-