类 JaxbHbmDynamicComponentType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmDynamicComponentType
-
- 所有已实现的接口:
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>- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 JaxbHbmDynamicComponentType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()Gets the value of the access property.List<Serializable>getAttributes()Gets the value of the attributes property.StringgetName()Gets the value of the name property.StringgetNode()Gets the value of the node property.booleanisInsert()Gets the value of the insert property.booleanisOptimisticLock()Gets the value of the optimisticLock property.booleanisUnique()Gets the value of the unique property.booleanisUpdate()Gets the value of the update property.voidsetAccess(String value)Sets the value of the access property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetName(String value)Sets the value of the name property.voidsetNode(String value)Sets the value of the node property.voidsetOptimisticLock(Boolean value)Sets the value of the optimisticLock property.voidsetUnique(Boolean value)Sets the value of the unique property.voidsetUpdate(Boolean value)Sets the value of the update property.
-
-
-
方法详细资料
-
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 JAXB 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
JaxbHbmBasicAttributeTypeJaxbHbmManyToOneTypeJaxbHbmOneToOneTypeJaxbHbmCompositeAttributeTypeJaxbHbmDynamicComponentTypeJaxbHbmPropertiesTypeJaxbHbmAnyAssociationTypeJaxbHbmMapTypeJaxbHbmSetTypeJaxbHbmListTypeJaxbHbmBagCollectionTypeJaxbHbmArrayTypeJaxbHbmPrimitiveArrayType
-
getAccess
public String getAccess()
Gets the value of the access property.- 返回:
- possible object is
String
-
setAccess
public void setAccess(String value)
Sets the value of the access property.- 参数:
value- allowed object isString
-
isInsert
public boolean isInsert()
Gets the value of the insert property.- 返回:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- 参数:
value- allowed object isBoolean
-
setName
public void setName(String value)
Sets the value of the name property.- 参数:
value- allowed object isString
-
setNode
public void setNode(String value)
Sets the value of the node property.- 参数:
value- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()
Gets the value of the optimisticLock property.- 返回:
- possible object is
Boolean
-
setOptimisticLock
public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.- 参数:
value- allowed object isBoolean
-
isUnique
public boolean isUnique()
Gets the value of the unique property.- 返回:
- possible object is
Boolean
-
setUnique
public void setUnique(Boolean value)
Sets the value of the unique property.- 参数:
value- allowed object isBoolean
-
isUpdate
public boolean isUpdate()
Gets the value of the update property.- 返回:
- possible object is
Boolean
-
-