Class JaxbHbmCompositeCollectionElementType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeCollectionElementType
-
- All Implemented Interfaces:
Serializable
,ToolingHintContainer
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.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 List<Serializable>
attributes
protected String
clazz
protected String
node
protected JaxbHbmParentType
parent
protected 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 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.-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
-
-
-
Field Detail
-
parent
protected JaxbHbmParentType parent
-
tuplizer
protected List<JaxbHbmTuplizerType> tuplizer
-
attributes
protected List<Serializable> attributes
-
clazz
protected String clazz
-
node
protected 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 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 Jakarta XML Binding 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
- Returns:
- The value of the tuplizer property.
-
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 Jakarta XML Binding 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
JaxbHbmAnyAssociationType
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmNestedCompositeElementType
- Returns:
- The value of the attributes property.
-
getClazz
public String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
getNode
public String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
-