public class JaxbHbmCompositeCollectionElementType extends JaxbHbmToolingHintContainer implements Serializable
A composite element allows a collection to hold instances of an arbitrary class, without the requirement of joining to an entity table. Composite elements have component semantics - no shared references and ad hoc null value semantics. Composite elements may not hold nested collections.
<p>Java class for CompositeCollectionElementType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="CompositeCollectionElementType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="parent" type="{http://www.hibernate.org/xsd/orm/hbm}parent-type" minOccurs="0"/> <element name="tuplizer" type="{http://www.hibernate.org/xsd/orm/hbm}tuplizer-type" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="property" type="{http://www.hibernate.org/xsd/orm/hbm}BasicAttributeType"/> <element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}ManyToOneType"/> <element name="any" type="{http://www.hibernate.org/xsd/orm/hbm}AnyAssociationType"/> <element name="nested-composite-element" type="{http://www.hibernate.org/xsd/orm/hbm}nested-composite-element-type"/> </choice> </sequence> <attribute name="class" use="required" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType> </pre>
Modifier and Type | Field and Description |
---|---|
protected List<Serializable> |
attributes |
protected String |
clazz |
protected String |
node |
protected JaxbHbmParentType |
parent |
protected List<JaxbHbmTuplizerType> |
tuplizer |
toolingHints
Constructor and Description |
---|
JaxbHbmCompositeCollectionElementType() |
Modifier and Type | Method and Description |
---|---|
List<Serializable> |
getAttributes()
Gets the value of the attributes property.
|
String |
getClazz()
Gets the value of the clazz 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.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setParent(JaxbHbmParentType value)
Sets the value of the parent property.
|
getToolingHints
protected JaxbHbmParentType parent
protected List<JaxbHbmTuplizerType> tuplizer
protected List<Serializable> attributes
protected String clazz
protected String node
public JaxbHbmCompositeCollectionElementType()
public JaxbHbmParentType getParent()
Gets the value of the parent property.
JaxbHbmParentType
public void setParent(JaxbHbmParentType value)
Sets the value of the parent property.
value
- allowed object is
JaxbHbmParentType
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 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
JaxbHbmAnyAssociationType
JaxbHbmNestedCompositeElementType
public String getClazz()
Gets the value of the clazz property.
String
public void setClazz(String value)
Sets the value of the clazz property.
value
- allowed object is
String
public String getNode()
Gets the value of the node property.
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.