Class JaxbCollectionTable

  • All Implemented Interfaces:
    Serializable, SchemaAware

    public class JaxbCollectionTable
    extends Object
    implements Serializable, SchemaAware
    See `@jakarta.persistence.CollectionTable`

    Java class for collection-table complex type.

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

    
     <complexType name="collection-table">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <sequence>
               <element name="join-column" type="{http://www.hibernate.org/xsd/orm/mapping}join-column" maxOccurs="unbounded" minOccurs="0"/>
               <element name="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"/>
           </sequence>
           <attribute name="name" 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" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbCollectionTable

        public JaxbCollectionTable()
    • Method Detail

      • getJoinColumn

        public List<JaxbJoinColumn> getJoinColumn()
        Gets the value of the joinColumn 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 joinColumn property.

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

            getJoinColumn().add(newItem);
         

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

        Returns:
        The value of the joinColumn property.
      • getForeignKey

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

        public void setForeignKey​(JaxbForeignKey value)
        Sets the value of the foreignKey property.
        Parameters:
        value - allowed object is JaxbForeignKey
      • getComment

        public String getComment()
        Gets the value of the comment property.
        Returns:
        possible object is String
      • setComment

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

        public String getCheck()
        Gets the value of the check property.
        Returns:
        possible object is String
      • setCheck

        public void setCheck​(String value)
        Sets the value of the check property.
        Parameters:
        value - allowed object is String
      • getUniqueConstraint

        public List<JaxbUniqueConstraint> getUniqueConstraint()
        Gets the value of the uniqueConstraint 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 uniqueConstraint property.

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

            getUniqueConstraint().add(newItem);
         

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

        Returns:
        The value of the uniqueConstraint property.
      • getIndex

        public List<JaxbIndex> getIndex()
        Gets the value of the index 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 index property.

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

            getIndex().add(newItem);
         

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

        Returns:
        The value of the index property.
      • 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 SchemaAware
        Returns:
        possible object is String
      • setCatalog

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

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

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