Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbCollectionTable

extends Object
implements Serializable, SchemaAware
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.SchemaAware, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:collection-table
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:joinColumn, foreignKey, comment, check, uniqueConstraint, index
Imports
java.io.Serializable, java.util.ArrayList, .List, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

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>

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected String
protected JaxbForeignKey
protected List<JaxbIndex>
protected List<JaxbJoinColumn>
protected String
protected String
protected List<JaxbUniqueConstraint>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getCatalog
()

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.getCatalog.

Gets the value of the catalog property.
public String

Returns:

possible object is String
getCheck
()

Gets the value of the check property.

public String

Returns:

possible object is String
getComment
()

Gets the value of the comment property.

public JaxbForeignKey

Returns:

possible object is JaxbForeignKey
getForeignKey
()

Gets the value of the foreignKey property.

public List<JaxbIndex>

Returns:

The value of the index property.
getIndex
()

Gets the value of the index property.

public List<JaxbJoinColumn>

Returns:

The value of the joinColumn property.
getJoinColumn
()

Gets the value of the joinColumn property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public String

Returns:

possible object is String
getSchema
()

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.getSchema.

Gets the value of the schema property.
public List<JaxbUniqueConstraint>

Returns:

The value of the uniqueConstraint property.
getUniqueConstraint
()

Gets the value of the uniqueConstraint property.

public void
setCatalog(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.setCatalog.

Sets the value of the catalog property.
public void
setCheck(String
allowed object is String
value
)

Sets the value of the check property.

public void
setComment(String
allowed object is String
value
)

Sets the value of the comment property.

public void
setForeignKey(JaxbForeignKey
allowed object is JaxbForeignKey
value
)

Sets the value of the foreignKey property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

public void
setSchema(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.setSchema.

Sets the value of the schema property.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

catalogback to summary
protected String catalog
Annotations
@XmlAttribute
name:catalog
checkback to summary
protected String check
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
commentback to summary
protected String comment
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
foreignKeyback to summary
protected JaxbForeignKey foreignKey
Annotations
@XmlElement
name:foreign-key
namespace:http://www.hibernate.org/xsd/orm/mapping
indexback to summary
protected List<JaxbIndex> index
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
joinColumnback to summary
protected List<JaxbJoinColumn> joinColumn
Annotations
@XmlElement
name:join-column
namespace:http://www.hibernate.org/xsd/orm/mapping
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
schemaback to summary
protected String schema
Annotations
@XmlAttribute
name:schema
uniqueConstraintback to summary
protected List<JaxbUniqueConstraint> uniqueConstraint
Annotations
@XmlElement
name:unique-constraint
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbCollectionTableback to summary
public JaxbCollectionTable()

Method Detail

getCatalogback to summary
public String getCatalog()

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.getCatalog.

Gets the value of the catalog property.

Returns:String

possible object is String

getCheckback to summary
public String getCheck()

Gets the value of the check property.

Returns:String

possible object is String

getCommentback to summary
public String getComment()

Gets the value of the comment property.

Returns:String

possible object is String

getForeignKeyback to summary
public JaxbForeignKey getForeignKey()

Gets the value of the foreignKey property.

Returns:JaxbForeignKey

possible object is JaxbForeignKey

getIndexback to summary
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:List<JaxbIndex>

The value of the index property.

getJoinColumnback to summary
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:List<JaxbJoinColumn>

The value of the joinColumn property.

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getSchemaback to summary
public String getSchema()

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.getSchema.

Gets the value of the schema property.

Returns:String

possible object is String

getUniqueConstraintback to summary
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:List<JaxbUniqueConstraint>

The value of the uniqueConstraint property.

setCatalogback to summary
public void setCatalog(String value)

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.setCatalog.

Sets the value of the catalog property.

Parameters
value:String

allowed object is String

setCheckback to summary
public void setCheck(String value)

Sets the value of the check property.

Parameters
value:String

allowed object is String

setCommentback to summary
public void setComment(String value)

Sets the value of the comment property.

Parameters
value:String

allowed object is String

setForeignKeyback to summary
public void setForeignKey(JaxbForeignKey value)

Sets the value of the foreignKey property.

Parameters
value:JaxbForeignKey

allowed object is JaxbForeignKey

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String

setSchemaback to summary
public void setSchema(String value)

Implements org.hibernate.boot.jaxb.mapping.SchemaAware.setSchema.

Sets the value of the schema property.

Parameters
value:String

allowed object is String