Class JaxbHbmCompositeCollectionElementType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeCollectionElementType
-
- All Implemented Interfaces:
java.io.Serializable
,ToolingHintContainer
public class JaxbHbmCompositeCollectionElementType extends JaxbHbmToolingHintContainer implements java.io.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.Java class for CompositeCollectionElementType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.io.Serializable>
attributes
protected java.lang.String
clazz
protected java.lang.String
node
protected JaxbHbmParentType
parent
protected java.util.List<JaxbHbmTuplizerType>
tuplizer
-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmCompositeCollectionElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.io.Serializable>
getAttributes()
Gets the value of the attributes property.java.lang.String
getClazz()
Gets the value of the clazz property.java.lang.String
getNode()
Gets the value of the node property.JaxbHbmParentType
getParent()
Gets the value of the parent property.java.util.List<JaxbHbmTuplizerType>
getTuplizer()
Gets the value of the tuplizer property.void
setClazz(java.lang.String value)
Sets the value of the clazz property.void
setNode(java.lang.String value)
Sets the value of the node property.void
setParent(JaxbHbmParentType value)
Sets the value of the parent property.-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
-
-
-
Field Detail
-
parent
protected JaxbHbmParentType parent
-
tuplizer
protected java.util.List<JaxbHbmTuplizerType> tuplizer
-
attributes
protected java.util.List<java.io.Serializable> attributes
-
clazz
protected java.lang.String clazz
-
node
protected java.lang.String node
-
-
Method Detail
-
getParent
public JaxbHbmParentType getParent()
Gets the value of the parent property.- Returns:
- possible object is
JaxbHbmParentType
-
setParent
public void setParent(JaxbHbmParentType value)
Sets the value of the parent property.- Parameters:
value
- allowed object isJaxbHbmParentType
-
getTuplizer
public java.util.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
set
method 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
-
getAttributes
public java.util.List<java.io.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
set
method 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
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmAnyAssociationType
JaxbHbmNestedCompositeElementType
-
getClazz
public java.lang.String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(java.lang.String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
getNode
public java.lang.String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(java.lang.String value)
Sets the value of the node property.- Parameters:
value
- allowed object isString
-
-