Package org.hibernate.boot.jaxb.mapping
Class JaxbJoinColumn
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbJoinColumn
-
- All Implemented Interfaces:
Serializable
public class JaxbJoinColumn extends Object implements Serializable
See `@jakarta.persistence.JoinColumn`Java class for join-column complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="join-column"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="referenced-column-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="insertable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="updatable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JaxbJoinColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumnDefinition()
Gets the value of the columnDefinition property.String
getName()
Gets the value of the name property.String
getReferencedColumnName()
Gets the value of the referencedColumnName property.String
getTable()
Gets the value of the table property.Boolean
isInsertable()
Gets the value of the insertable property.Boolean
isNullable()
Gets the value of the nullable property.Boolean
isUnique()
Gets the value of the unique property.Boolean
isUpdatable()
Gets the value of the updatable property.void
setColumnDefinition(String value)
Sets the value of the columnDefinition property.void
setInsertable(Boolean value)
Sets the value of the insertable property.void
setName(String value)
Sets the value of the name property.void
setNullable(Boolean value)
Sets the value of the nullable property.void
setReferencedColumnName(String value)
Sets the value of the referencedColumnName property.void
setTable(String value)
Sets the value of the table property.void
setUnique(Boolean value)
Sets the value of the unique property.void
setUpdatable(Boolean value)
Sets the value of the updatable property.
-
-
-
Field Detail
-
name
protected String name
-
referencedColumnName
protected String referencedColumnName
-
unique
protected Boolean unique
-
nullable
protected Boolean nullable
-
insertable
protected Boolean insertable
-
updatable
protected Boolean updatable
-
columnDefinition
protected String columnDefinition
-
table
protected String table
-
-
Method Detail
-
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
-
getReferencedColumnName
public String getReferencedColumnName()
Gets the value of the referencedColumnName property.- Returns:
- possible object is
String
-
setReferencedColumnName
public void setReferencedColumnName(String value)
Sets the value of the referencedColumnName property.- Parameters:
value
- allowed object isString
-
isUnique
public Boolean isUnique()
Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
public void setUnique(Boolean value)
Sets the value of the unique property.- Parameters:
value
- allowed object isBoolean
-
isNullable
public Boolean isNullable()
Gets the value of the nullable property.- Returns:
- possible object is
Boolean
-
setNullable
public void setNullable(Boolean value)
Sets the value of the nullable property.- Parameters:
value
- allowed object isBoolean
-
isInsertable
public Boolean isInsertable()
Gets the value of the insertable property.- Returns:
- possible object is
Boolean
-
setInsertable
public void setInsertable(Boolean value)
Sets the value of the insertable property.- Parameters:
value
- allowed object isBoolean
-
isUpdatable
public Boolean isUpdatable()
Gets the value of the updatable property.- Returns:
- possible object is
Boolean
-
setUpdatable
public void setUpdatable(Boolean value)
Sets the value of the updatable property.- Parameters:
value
- allowed object isBoolean
-
getColumnDefinition
public String getColumnDefinition()
Gets the value of the columnDefinition property.- Returns:
- possible object is
String
-
setColumnDefinition
public void setColumnDefinition(String value)
Sets the value of the columnDefinition property.- Parameters:
value
- allowed object isString
-
getTable
public String getTable()
Gets the value of the table property.- Returns:
- possible object is
String
-
-