Class JaxbHbmAnyAssociationType

java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmAnyAssociationType
All Implemented Interfaces:
Serializable, ToolingHintContainer

public class JaxbHbmAnyAssociationType extends JaxbHbmToolingHintContainer implements Serializable, ToolingHintContainer
A discriminated association where the discriminator is part of the association, not the associated entity (compared to discriminator subclass)

Java class for AnyAssociationType complex type

.

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


 <complexType name="AnyAssociationType">
   <complexContent>
     <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
       <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"/>
       </sequence>
       <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cascade" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="meta-type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbHbmAnyAssociationType

      public JaxbHbmAnyAssociationType()
  • 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.
    • getAccess

      public String getAccess()
      Gets the value of the access property.
      Returns:
      possible object is String
    • setAccess

      public void setAccess(String value)
      Sets the value of the access property.
      Parameters:
      value - allowed object is String
    • getCascade

      public String getCascade()
      Gets the value of the cascade property.
      Returns:
      possible object is String
    • setCascade

      public void setCascade(String value)
      Sets the value of the cascade property.
      Parameters:
      value - allowed object is String
    • 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
    • getIndex

      public String getIndex()
      Gets the value of the index property.
      Returns:
      possible object is String
    • setIndex

      public void setIndex(String value)
      Sets the value of the index property.
      Parameters:
      value - allowed object is String
    • isInsert

      public boolean isInsert()
      Gets the value of the insert property.
      Returns:
      possible object is Boolean
    • setInsert

      public void setInsert(Boolean value)
      Sets the value of the insert property.
      Parameters:
      value - allowed object is Boolean
    • isLazy

      public boolean isLazy()
      Gets the value of the lazy property.
      Returns:
      possible object is Boolean
    • setLazy

      public void setLazy(Boolean value)
      Sets the value of the lazy property.
      Parameters:
      value - allowed object is Boolean
    • 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
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name 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
    • isOptimisticLock

      public boolean isOptimisticLock()
      Gets the value of the optimisticLock property.
      Returns:
      possible object is Boolean
    • setOptimisticLock

      public void setOptimisticLock(Boolean value)
      Sets the value of the optimisticLock property.
      Parameters:
      value - allowed object is Boolean
    • isUpdate

      public boolean isUpdate()
      Gets the value of the update property.
      Returns:
      possible object is Boolean
    • setUpdate

      public void setUpdate(Boolean value)
      Sets the value of the update property.
      Parameters:
      value - allowed object is Boolean