类 JaxbHbmCompositeAttributeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeAttributeType
-
- 所有已实现的接口:
Serializable,ToolingHintContainer
public class JaxbHbmCompositeAttributeType extends JaxbHbmToolingHintContainer implements Serializable, ToolingHintContainer
A component is a user-defined class, persisted along with its containing entity to the table of the entity class. JavaBeans style properties of the component are mapped to columns of the table of the containing entity. A null component reference is mapped to null values in all columns and vice versa. Components do not support shared reference semantics.Java class for CompositeAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompositeAttributeType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="tuplizer" type="{http://www.hibernate.org/xsd/orm/hbm}tuplizer-type" maxOccurs="unbounded" minOccurs="0"/> <element name="parent" type="{http://www.hibernate.org/xsd/orm/hbm}parent-type" minOccurs="0"/> <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="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <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" /> </extension> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringaccessprotected List<Serializable>attributesprotected Stringclazzprotected Booleaninsertprotected Booleanlazyprotected Stringnameprotected Stringnodeprotected BooleanoptimisticLockprotected JaxbHbmParentTypeparentprotected List<JaxbHbmTuplizerType>tuplizerprotected Booleanuniqueprotected Booleanupdate-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmCompositeAttributeType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()Gets the value of the access property.List<Serializable>getAttributes()Gets the value of the attributes property.StringgetClazz()Gets the value of the clazz property.StringgetName()Gets the value of the name property.StringgetNode()Gets the value of the node property.JaxbHbmParentTypegetParent()Gets the value of the parent property.List<JaxbHbmTuplizerType>getTuplizer()Gets the value of the tuplizer property.booleanisInsert()Gets the value of the insert property.booleanisLazy()Gets the value of the lazy 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.voidsetClazz(String value)Sets the value of the clazz property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetLazy(Boolean value)Sets the value of the lazy 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.voidsetParent(JaxbHbmParentType value)Sets the value of the parent property.voidsetUnique(Boolean value)Sets the value of the unique property.voidsetUpdate(Boolean value)Sets the value of the update property.-
从类继承的方法 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
字段详细资料
-
tuplizer
protected List<JaxbHbmTuplizerType> tuplizer
-
parent
protected JaxbHbmParentType parent
-
attributes
protected List<Serializable> attributes
-
access
protected String access
-
clazz
protected String clazz
-
insert
protected Boolean insert
-
lazy
protected Boolean lazy
-
name
protected String name
-
node
protected String node
-
optimisticLock
protected Boolean optimisticLock
-
unique
protected Boolean unique
-
update
protected Boolean update
-
-
方法详细资料
-
getTuplizer
public List<JaxbHbmTuplizerType> getTuplizer()
Gets the value of the tuplizer 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 tuplizer property.For example, to add a new item, do as follows:
getTuplizer().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmTuplizerType
-
getParent
public JaxbHbmParentType getParent()
Gets the value of the parent property.- 返回:
- possible object is
JaxbHbmParentType
-
setParent
public void setParent(JaxbHbmParentType value)
Sets the value of the parent property.- 参数:
value- allowed object isJaxbHbmParentType
-
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
-
getClazz
public String getClazz()
Gets the value of the clazz property.- 返回:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz 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
-
isLazy
public boolean isLazy()
Gets the value of the lazy property.- 返回:
- possible object is
Boolean
-
setLazy
public void setLazy(Boolean value)
Sets the value of the lazy 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
-
-