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 String
catalog
protected String
check
protected String
comment
protected JaxbForeignKey
foreignKey
protected List<JaxbIndex>
index
protected JaxbForeignKey
inverseForeignKey
protected List<JaxbJoinColumn>
inverseJoinColumn
protected List<JaxbJoinColumn>
joinColumn
protected String
name
protected String
schema
protected List<JaxbUniqueConstraint>
uniqueConstraint
-
Constructor Summary
Constructors Constructor Description JaxbJoinTable()
-
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.JaxbForeignKey
getInverseForeignKey()
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.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
setInverseForeignKey(JaxbForeignKey value)
Sets the value of the inverseForeignKey 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
-
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
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
-
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
set
method 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
-
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
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
-
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
-
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
-
-