Class JaxbSecondaryTableImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbSecondaryTableImpl
All Implemented Interfaces:
Serializable, JaxbCheckable, JaxbDatabaseObject, JaxbTableMapping, JaxbSchemaAware

public class JaxbSecondaryTableImpl extends Object implements Serializable, JaxbTableMapping
See `@jakarta.persistence.SecondaryTable` See `@org.hibernate.annotations.SecondaryRow`

Java class for secondary-table complex type

.

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


 <complexType name="secondary-table">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <sequence>
           <element name="primary-key-join-column" type="{http://www.hibernate.org/xsd/orm/mapping}primary-key-join-column" maxOccurs="unbounded" minOccurs="0"/>
           <element name="primary-key-foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/>
         </sequence>
         <group ref="{http://www.hibernate.org/xsd/orm/mapping}hbm-common-table-extensions"/>
         <element name="unique-constraint" type="{http://www.hibernate.org/xsd/orm/mapping}unique-constraint" maxOccurs="unbounded" minOccurs="0"/>
         <element name="index" type="{http://www.hibernate.org/xsd/orm/mapping}index" maxOccurs="unbounded" minOccurs="0"/>
         <element name="foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="owned" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="options" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbSecondaryTableImpl

      public JaxbSecondaryTableImpl()
  • Method Details

    • getPrimaryKeyJoinColumn

      public List<JaxbPrimaryKeyJoinColumnImpl> getPrimaryKeyJoinColumn()
      Gets the value of the primaryKeyJoinColumn 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 primaryKeyJoinColumn property.

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

       getPrimaryKeyJoinColumn().add(newItem);
       

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

      Returns:
      The value of the primaryKeyJoinColumn property.
    • getPrimaryKeyForeignKey

      public JaxbForeignKeyImpl getPrimaryKeyForeignKey()
      Gets the value of the primaryKeyForeignKey property.
      Returns:
      possible object is JaxbForeignKeyImpl
    • setPrimaryKeyForeignKey

      public void setPrimaryKeyForeignKey(JaxbForeignKeyImpl value)
      Sets the value of the primaryKeyForeignKey property.
      Parameters:
      value - allowed object is JaxbForeignKeyImpl
    • getCheckConstraints

      public List<JaxbCheckConstraintImpl> getCheckConstraints()
      Gets the value of the checkConstraints 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 checkConstraints property.

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

       getCheckConstraints().add(newItem);
       

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

      Specified by:
      getCheckConstraints in interface JaxbCheckable
      Returns:
      The value of the checkConstraints property.
    • getUniqueConstraints

      public List<JaxbUniqueConstraintImpl> getUniqueConstraints()
      Gets the value of the uniqueConstraints 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 uniqueConstraints property.

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

       getUniqueConstraints().add(newItem);
       

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

      Specified by:
      getUniqueConstraints in interface JaxbTableMapping
      Returns:
      The value of the uniqueConstraints property.
    • getIndexes

      public List<JaxbIndexImpl> getIndexes()
      Gets the value of the indexes 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 indexes property.

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

       getIndexes().add(newItem);
       

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

      Specified by:
      getIndexes in interface JaxbTableMapping
      Returns:
      The value of the indexes property.
    • getForeignKey

      public JaxbForeignKeyImpl getForeignKey()
      Gets the value of the foreignKey property.
      Returns:
      possible object is JaxbForeignKeyImpl
    • setForeignKey

      public void setForeignKey(JaxbForeignKeyImpl value)
      Sets the value of the foreignKey property.
      Parameters:
      value - allowed object is JaxbForeignKeyImpl
    • 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
    • getCatalog

      public String getCatalog()
      Gets the value of the catalog property.
      Specified by:
      getCatalog in interface JaxbSchemaAware
      Returns:
      possible object is String
    • setCatalog

      public void setCatalog(String value)
      Sets the value of the catalog property.
      Specified by:
      setCatalog in interface JaxbSchemaAware
      Parameters:
      value - allowed object is String
    • getSchema

      public String getSchema()
      Gets the value of the schema property.
      Specified by:
      getSchema in interface JaxbSchemaAware
      Returns:
      possible object is String
    • setSchema

      public void setSchema(String value)
      Sets the value of the schema property.
      Specified by:
      setSchema in interface JaxbSchemaAware
      Parameters:
      value - allowed object is String
    • isOptional

      public Boolean isOptional()
      Gets the value of the optional property.
      Returns:
      possible object is Boolean
    • setOptional

      public void setOptional(Boolean value)
      Sets the value of the optional property.
      Parameters:
      value - allowed object is Boolean
    • isOwned

      public Boolean isOwned()
      Gets the value of the owned property.
      Returns:
      possible object is Boolean
    • setOwned

      public void setOwned(Boolean value)
      Sets the value of the owned property.
      Parameters:
      value - allowed object is Boolean
    • getComment

      public String getComment()
      Gets the value of the comment property.
      Specified by:
      getComment in interface JaxbTableMapping
      Returns:
      possible object is String
    • setComment

      public void setComment(String value)
      Sets the value of the comment property.
      Parameters:
      value - allowed object is String
    • getOptions

      public String getOptions()
      Gets the value of the options property.
      Specified by:
      getOptions in interface JaxbTableMapping
      Returns:
      possible object is String
    • setOptions

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