Class JaxbJoinTable
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbJoinTable
-
- All Implemented Interfaces:
Serializable,SchemaAware
public class JaxbJoinTable extends Object implements Serializable, SchemaAware
See `@jakarta.persistence.JoinTable`Java class for join-table complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="join-table"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.hibernate.org/xsd/orm/mapping}hbm-common-table-extensions"/> <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> <sequence> <element name="inverse-join-column" type="{http://www.hibernate.org/xsd/orm/mapping}join-column" maxOccurs="unbounded" minOccurs="0"/> <element name="inverse-foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/> </sequence> <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 Stringcatalogprotected Stringcheckprotected Stringcommentprotected JaxbForeignKeyforeignKeyprotected List<JaxbIndex>indexprotected JaxbForeignKeyinverseForeignKeyprotected List<JaxbJoinColumn>inverseJoinColumnprotected List<JaxbJoinColumn>joinColumnprotected Stringnameprotected Stringschemaprotected List<JaxbUniqueConstraint>uniqueConstraint
-
Constructor Summary
Constructors Constructor Description JaxbJoinTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCatalog()Gets the value of the catalog property.StringgetCheck()Gets the value of the check property.StringgetComment()Gets the value of the comment property.JaxbForeignKeygetForeignKey()Gets the value of the foreignKey property.List<JaxbIndex>getIndex()Gets the value of the index property.JaxbForeignKeygetInverseForeignKey()Gets the value of the inverseForeignKey property.List<JaxbJoinColumn>getInverseJoinColumn()Gets the value of the inverseJoinColumn property.List<JaxbJoinColumn>getJoinColumn()Gets the value of the joinColumn property.StringgetName()Gets the value of the name property.StringgetSchema()Gets the value of the schema property.List<JaxbUniqueConstraint>getUniqueConstraint()Gets the value of the uniqueConstraint property.voidsetCatalog(String value)Sets the value of the catalog property.voidsetCheck(String value)Sets the value of the check property.voidsetComment(String value)Sets the value of the comment property.voidsetForeignKey(JaxbForeignKey value)Sets the value of the foreignKey property.voidsetInverseForeignKey(JaxbForeignKey value)Sets the value of the inverseForeignKey property.voidsetName(String value)Sets the value of the name property.voidsetSchema(String value)Sets the value of the schema property.
-
-
-
Field Detail
-
comment
protected String comment
-
check
protected String check
-
joinColumn
protected List<JaxbJoinColumn> joinColumn
-
foreignKey
protected JaxbForeignKey foreignKey
-
inverseJoinColumn
protected List<JaxbJoinColumn> inverseJoinColumn
-
inverseForeignKey
protected JaxbForeignKey inverseForeignKey
-
uniqueConstraint
protected List<JaxbUniqueConstraint> uniqueConstraint
-
name
protected String name
-
catalog
protected String catalog
-
schema
protected String schema
-
-
Method Detail
-
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
-
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
setmethod 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
-
getInverseJoinColumn
public List<JaxbJoinColumn> getInverseJoinColumn()
Gets the value of the inverseJoinColumn 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
setmethod for the inverseJoinColumn property.For example, to add a new item, do as follows:
getInverseJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
JaxbJoinColumn- Returns:
- The value of the inverseJoinColumn property.
-
getInverseForeignKey
public JaxbForeignKey getInverseForeignKey()
Gets the value of the inverseForeignKey property.- Returns:
- possible object is
JaxbForeignKey
-
setInverseForeignKey
public void setInverseForeignKey(JaxbForeignKey value)
Sets the value of the inverseForeignKey property.- Parameters:
value- allowed object isJaxbForeignKey
-
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
setmethod 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
setmethod 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:
getCatalogin interfaceSchemaAware- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(String value)
Sets the value of the catalog property.- Specified by:
setCatalogin interfaceSchemaAware- Parameters:
value- allowed object isString
-
getSchema
public String getSchema()
Gets the value of the schema property.- Specified by:
getSchemain interfaceSchemaAware- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Sets the value of the schema property.- Specified by:
setSchemain interfaceSchemaAware- Parameters:
value- allowed object isString
-
-