Class JaxbHbmCompositeAttributeType
- All Implemented Interfaces:
Serializable,ToolingHintContainer
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<Serializable> protected Stringprotected Booleanprotected Booleanprotected Stringprotected Stringprotected Booleanprotected JaxbHbmParentTypeprotected List<JaxbHbmTuplizerType> protected Booleanprotected BooleanFields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributes property.getClazz()Gets the value of the clazz property.getName()Gets the value of the name property.getNode()Gets the value of the node property.Gets the value of the parent property.Gets the value of the tuplizer property.booleanisInsert()Gets the value of the insert property.booleanisLazy()Gets the value of the lazy 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 clazz property.voidSets the value of the insert property.voidSets the value of the lazy 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.voidsetParent(JaxbHbmParentType value) Sets the value of the parent property.voidSets the value of the unique property.voidSets the value of the update property.Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
Field Details
-
tuplizer
-
parent
-
attributes
-
access
-
clazz
-
insert
-
lazy
-
name
-
node
-
optimisticLock
-
unique
-
update
-
-
Constructor Details
-
JaxbHbmCompositeAttributeType
public JaxbHbmCompositeAttributeType()
-
-
Method Details
-
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- Returns:
- The value of the tuplizer property.
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
JaxbHbmParentType
-
setParent
Sets the value of the parent property.- Parameters:
value- allowed object isJaxbHbmParentType
-
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
JaxbHbmAnyAssociationTypeJaxbHbmArrayTypeJaxbHbmBagCollectionTypeJaxbHbmBasicAttributeTypeJaxbHbmCompositeAttributeTypeJaxbHbmDynamicComponentTypeJaxbHbmListTypeJaxbHbmManyToOneTypeJaxbHbmMapTypeJaxbHbmOneToOneTypeJaxbHbmPrimitiveArrayTypeJaxbHbmPropertiesTypeJaxbHbmSetType- Returns:
- The value of the attributes property.
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isString
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-
isInsert
public boolean isInsert()Gets the value of the insert property.- Returns:
- possible object is
Boolean
-
setInsert
Sets the value of the insert property.- Parameters:
value- allowed object isBoolean
-
isLazy
public boolean isLazy()Gets the value of the lazy property.- Returns:
- possible object is
Boolean
-
setLazy
Sets the value of the lazy property.- Parameters:
value- allowed object isBoolean
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNode
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
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
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
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
-
setUpdate
Sets the value of the update property.- Parameters:
value- allowed object isBoolean
-