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.
<p>Java class for CompositeAttributeType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
access |
protected List<Serializable> |
attributes |
protected String |
clazz |
protected Boolean |
insert |
protected Boolean |
lazy |
protected String |
name |
protected String |
node |
protected Boolean |
optimisticLock |
protected JaxbHbmParentType |
parent |
protected List<JaxbHbmTuplizerType> |
tuplizer |
protected Boolean |
unique |
protected Boolean |
update |
toolingHints| Constructor and Description |
|---|
JaxbHbmCompositeAttributeType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the value of the access property.
|
List<Serializable> |
getAttributes()
Gets the value of the attributes property.
|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNode()
Gets the value of the node property.
|
JaxbHbmParentType |
getParent()
Gets the value of the parent property.
|
List<JaxbHbmTuplizerType> |
getTuplizer()
Gets the value of the tuplizer property.
|
boolean |
isInsert()
Gets the value of the insert property.
|
boolean |
isLazy()
Gets the value of the lazy 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 |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setInsert(Boolean value)
Sets the value of the insert property.
|
void |
setLazy(Boolean value)
Sets the value of the lazy 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 |
setParent(JaxbHbmParentType value)
Sets the value of the parent property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
void |
setUpdate(Boolean value)
Sets the value of the update property.
|
getToolingHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolingHintsprotected List<JaxbHbmTuplizerType> tuplizer
protected JaxbHbmParentType parent
protected List<Serializable> attributes
protected String access
protected String clazz
protected Boolean insert
protected Boolean lazy
protected String name
protected String node
protected Boolean optimisticLock
protected Boolean unique
protected Boolean update
public List<JaxbHbmTuplizerType> getTuplizer()
Gets the value of the tuplizer property.
<p> 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 <CODE>set</CODE> method for the tuplizer property.
<p> For example, to add a new item, do as follows: <pre> getTuplizer().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmTuplizerType
public JaxbHbmParentType getParent()
Gets the value of the parent property.
JaxbHbmParentTypepublic void setParent(JaxbHbmParentType value)
Sets the value of the parent property.
value - allowed object is
JaxbHbmParentTypepublic List<Serializable> getAttributes()
Gets the value of the attributes property.
<p> 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 <CODE>set</CODE> method for the attributes property.
<p> For example, to add a new item, do as follows: <pre> getAttributes().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmOneToOneType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
JaxbHbmPropertiesType
JaxbHbmAnyAssociationType
JaxbHbmMapType
JaxbHbmSetType
JaxbHbmListType
JaxbHbmBagCollectionType
JaxbHbmArrayType
JaxbHbmPrimitiveArrayType
public String getAccess()
Gets the value of the access property.
Stringpublic void setAccess(String value)
Sets the value of the access property.
value - allowed object is
Stringpublic String getClazz()
Gets the value of the clazz property.
Stringpublic void setClazz(String value)
Sets the value of the clazz property.
value - allowed object is
Stringpublic boolean isInsert()
Gets the value of the insert property.
Booleanpublic void setInsert(Boolean value)
Sets the value of the insert property.
value - allowed object is
Booleanpublic boolean isLazy()
Gets the value of the lazy property.
Booleanpublic void setLazy(Boolean value)
Sets the value of the lazy property.
value - allowed object is
Booleanpublic String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic String getNode()
Gets the value of the node property.
Stringpublic void setNode(String value)
Sets the value of the node property.
value - allowed object is
Stringpublic boolean isOptimisticLock()
Gets the value of the optimisticLock property.
Booleanpublic void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.
value - allowed object is
Booleanpublic boolean isUnique()
Gets the value of the unique property.
Booleanpublic void setUnique(Boolean value)
Sets the value of the unique property.
value - allowed object is
Booleanpublic boolean isUpdate()
Gets the value of the update property.
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.