Class 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
    • Constructor Detail

      • JaxbHbmCompositeCollectionElementType

        public JaxbHbmCompositeCollectionElementType()
    • Method Detail

      • 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 is String
      • getNode

        public String getNode()
        Gets the value of the node property.
        Returns:
        possible object is String
      • setNode

        public void setNode​(String value)
        Sets the value of the node property.
        Parameters:
        value - allowed object is String