Class JaxbColumnImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbColumnImpl
- All Implemented Interfaces:
Serializable
,JaxbCheckable
,JaxbColumn
,JaxbColumnDefaultable
,JaxbColumnDefinable
,JaxbColumnMutable
,JaxbColumnNullable
,JaxbColumnSizable
,JaxbColumnStandard
,JaxbColumnUniqueable
,JaxbCommentable
,JaxbDatabaseObject
See `@jakarta.persistence.Column`
See `@org.hibernate.annotations.Comment`
See `@org.hibernate.annotations.Check`
See `@org.hibernate.annotations.ColumnDefault`
See `@org.hibernate.annotations.ColumnTransformer`
Java class for column complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="column">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="check-constraint" type="{http://www.hibernate.org/xsd/orm/mapping}check-constraint" maxOccurs="unbounded" minOccurs="0"/>
<element name="default" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="read" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="write" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<attribute name="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="options" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="second-precision" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected List<JaxbCheckConstraintImpl>
protected String
protected String
protected Boolean
protected Integer
protected String
protected Boolean
protected String
protected Integer
protected String
protected Integer
protected Integer
protected String
protected Boolean
protected Boolean
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the checkConstraints property.Gets the value of the columnDefinition property.Gets the value of the comment property.Gets the value of the default property.Gets the value of the length property.getName()
Gets the value of the name property.Gets the value of the options property.Gets the value of the precision property.getRead()
Gets the value of the read property.getScale()
Gets the value of the scale property.Gets the value of the secondPrecision property.getTable()
Gets the value of the table property.getWrite()
Gets the value of the write property.Gets the value of the insertable property.Gets the value of the nullable property.isUnique()
Gets the value of the unique property.Gets the value of the updatable property.void
setColumnDefinition
(String value) Sets the value of the columnDefinition property.void
setComment
(String value) Sets the value of the comment property.void
setDefault
(String value) Sets the value of the default property.void
setInsertable
(Boolean value) Sets the value of the insertable property.void
Sets the value of the length property.void
Sets the value of the name property.void
setNullable
(Boolean value) Sets the value of the nullable property.void
setOptions
(String value) Sets the value of the options property.void
setPrecision
(Integer value) Sets the value of the precision property.void
Sets the value of the read property.void
Sets the value of the scale property.void
setSecondPrecision
(Integer value) Sets the value of the secondPrecision property.void
Sets the value of the table property.void
Sets the value of the unique property.void
setUpdatable
(Boolean value) Sets the value of the updatable property.void
Sets the value of the write property.
-
Field Details
-
checkConstraints
-
_default
-
read
-
write
-
name
-
unique
-
nullable
-
insertable
-
updatable
-
columnDefinition
-
options
-
table
-
length
-
precision
-
scale
-
comment
-
secondPrecision
-
-
Constructor Details
-
JaxbColumnImpl
public JaxbColumnImpl()
-
-
Method Details
-
getCheckConstraints
Gets the value of the checkConstraints 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 JAXB object. This is why there is not a
set
method for the checkConstraints property.For example, to add a new item, do as follows:
getCheckConstraints().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbCheckConstraintImpl
- Specified by:
getCheckConstraints
in interfaceJaxbCheckable
- Returns:
- The value of the checkConstraints property.
-
getDefault
Gets the value of the default property.- Specified by:
getDefault
in interfaceJaxbColumnDefaultable
- Returns:
- possible object is
String
-
setDefault
Sets the value of the default property.- Parameters:
value
- allowed object isString
-
getRead
Gets the value of the read property.- Specified by:
getRead
in interfaceJaxbColumnStandard
- Returns:
- possible object is
String
-
setRead
Sets the value of the read property.- Parameters:
value
- allowed object isString
-
getWrite
Gets the value of the write property.- Specified by:
getWrite
in interfaceJaxbColumnStandard
- Returns:
- possible object is
String
-
setWrite
Sets the value of the write property.- Parameters:
value
- allowed object isString
-
getName
Gets the value of the name property.- Specified by:
getName
in interfaceJaxbColumn
- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
isUnique
Gets the value of the unique property.- Specified by:
isUnique
in interfaceJaxbColumnUniqueable
- Returns:
- possible object is
Boolean
-
setUnique
Sets the value of the unique property.- Parameters:
value
- allowed object isBoolean
-
isNullable
Gets the value of the nullable property.- Specified by:
isNullable
in interfaceJaxbColumnNullable
- Returns:
- possible object is
Boolean
-
setNullable
Sets the value of the nullable property.- Parameters:
value
- allowed object isBoolean
-
isInsertable
Gets the value of the insertable property.- Specified by:
isInsertable
in interfaceJaxbColumnMutable
- Returns:
- possible object is
Boolean
-
setInsertable
Sets the value of the insertable property.- Parameters:
value
- allowed object isBoolean
-
isUpdatable
Gets the value of the updatable property.- Specified by:
isUpdatable
in interfaceJaxbColumnMutable
- Returns:
- possible object is
Boolean
-
setUpdatable
Sets the value of the updatable property.- Parameters:
value
- allowed object isBoolean
-
getColumnDefinition
Gets the value of the columnDefinition property.- Specified by:
getColumnDefinition
in interfaceJaxbColumnDefinable
- Returns:
- possible object is
String
-
setColumnDefinition
Sets the value of the columnDefinition property.- Parameters:
value
- allowed object isString
-
getOptions
Gets the value of the options property.- Specified by:
getOptions
in interfaceJaxbColumnDefinable
- Returns:
- possible object is
String
-
setOptions
Sets the value of the options property.- Parameters:
value
- allowed object isString
-
getTable
Gets the value of the table property.- Specified by:
getTable
in interfaceJaxbColumn
- Returns:
- possible object is
String
-
setTable
Sets the value of the table property.- Parameters:
value
- allowed object isString
-
getLength
Gets the value of the length property.- Specified by:
getLength
in interfaceJaxbColumnSizable
- Returns:
- possible object is
Integer
-
setLength
Sets the value of the length property.- Parameters:
value
- allowed object isInteger
-
getPrecision
Gets the value of the precision property.- Specified by:
getPrecision
in interfaceJaxbColumnSizable
- Returns:
- possible object is
Integer
-
setPrecision
Sets the value of the precision property.- Parameters:
value
- allowed object isInteger
-
getScale
Gets the value of the scale property.- Specified by:
getScale
in interfaceJaxbColumnSizable
- Returns:
- possible object is
Integer
-
setScale
Sets the value of the scale property.- Parameters:
value
- allowed object isInteger
-
getComment
Gets the value of the comment property.- Specified by:
getComment
in interfaceJaxbCommentable
- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
getSecondPrecision
Gets the value of the secondPrecision property.- Specified by:
getSecondPrecision
in interfaceJaxbColumnSizable
- Returns:
- possible object is
Integer
-
setSecondPrecision
Sets the value of the secondPrecision property.- Parameters:
value
- allowed object isInteger
-