Class JaxbHbmManyToAnyCollectionElementType

java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmManyToAnyCollectionElementType
All Implemented Interfaces:
Serializable

public class JaxbHbmManyToAnyCollectionElementType extends Object implements Serializable
A "many to any" defines a polymorphic association to any table with the given identifier type. The first listed column is a VARCHAR column holding the name of the class (for that row).

Java class for ManyToAnyCollectionElementType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="ManyToAnyCollectionElementType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="meta-value" type="{http://www.hibernate.org/xsd/orm/hbm}AnyValueMappingType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="2"/>
       </sequence>
       <attribute name="id-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="meta-type" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbHbmManyToAnyCollectionElementType

      public JaxbHbmManyToAnyCollectionElementType()
  • Method Details

    • getMetaValue

      public List<JaxbHbmAnyValueMappingType> getMetaValue()
      Gets the value of the metaValue 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 metaValue property.

      For example, to add a new item, do as follows:

       getMetaValue().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbHbmAnyValueMappingType

      Returns:
      The value of the metaValue property.
    • getColumn

      public List<JaxbHbmColumnType> getColumn()
      Gets the value of the column 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 column property.

      For example, to add a new item, do as follows:

       getColumn().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbHbmColumnType

      Returns:
      The value of the column property.
    • getIdType

      public String getIdType()
      Gets the value of the idType property.
      Returns:
      possible object is String
    • setIdType

      public void setIdType(String value)
      Sets the value of the idType property.
      Parameters:
      value - allowed object is String
    • getMetaType

      public String getMetaType()
      Gets the value of the metaType property.
      Returns:
      possible object is String
    • setMetaType

      public void setMetaType(String value)
      Sets the value of the metaType property.
      Parameters:
      value - allowed object is String