Class JaxbCollectionTable
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.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
-
-
Field Summary
Fields Modifier and Type Field Description protected String
catalog
protected String
check
protected String
comment
protected JaxbForeignKey
foreignKey
protected List<JaxbIndex>
index
protected List<JaxbJoinColumn>
joinColumn
protected String
name
protected String
schema
protected List<JaxbUniqueConstraint>
uniqueConstraint
-
Constructor Summary
Constructors Constructor Description JaxbCollectionTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCatalog()
Gets the value of the catalog property.String
getCheck()
Gets the value of the check property.String
getComment()
Gets the value of the comment property.JaxbForeignKey
getForeignKey()
Gets the value of the foreignKey property.List<JaxbIndex>
getIndex()
Gets the value of the index property.List<JaxbJoinColumn>
getJoinColumn()
Gets the value of the joinColumn property.String
getName()
Gets the value of the name property.String
getSchema()
Gets the value of the schema property.List<JaxbUniqueConstraint>
getUniqueConstraint()
Gets the value of the uniqueConstraint property.void
setCatalog(String value)
Sets the value of the catalog property.void
setCheck(String value)
Sets the value of the check property.void
setComment(String value)
Sets the value of the comment property.void
setForeignKey(JaxbForeignKey value)
Sets the value of the foreignKey property.void
setName(String value)
Sets the value of the name property.void
setSchema(String value)
Sets the value of the schema property.
-
-
-
Field Detail
-
joinColumn
protected List<JaxbJoinColumn> joinColumn
-
foreignKey
protected JaxbForeignKey foreignKey
-
comment
protected String comment
-
check
protected String check
-
uniqueConstraint
protected List<JaxbUniqueConstraint> uniqueConstraint
-
name
protected String name
-
catalog
protected String catalog
-
schema
protected String schema
-
-
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 isJaxbForeignKey
-
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 isString
-
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 isString
-
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 isString
-
getCatalog
public String getCatalog()
Gets the value of the catalog property.- Specified by:
getCatalog
in interfaceSchemaAware
- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(String value)
Sets the value of the catalog property.- Specified by:
setCatalog
in interfaceSchemaAware
- Parameters:
value
- allowed object isString
-
getSchema
public String getSchema()
Gets the value of the schema property.- Specified by:
getSchema
in interfaceSchemaAware
- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Sets the value of the schema property.- Specified by:
setSchema
in interfaceSchemaAware
- Parameters:
value
- allowed object isString
-
-