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`
<p>Java class for column complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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>
}</pre>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<JaxbCheckConstraintImpl> protected Stringprotected Stringprotected Booleanprotected Integerprotected Stringprotected Booleanprotected Stringprotected Integerprotected Stringprotected Integerprotected Integerprotected Stringprotected Booleanprotected Booleanprotected 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.voidsetColumnDefinition(String value) Sets the value of the columnDefinition property.voidsetComment(String value) Sets the value of the comment property.voidsetDefault(String value) Sets the value of the default property.voidsetInsertable(Boolean value) Sets the value of the insertable property.voidSets the value of the length property.voidSets the value of the name property.voidsetNullable(Boolean value) Sets the value of the nullable property.voidsetOptions(String value) Sets the value of the options property.voidsetPrecision(Integer value) Sets the value of the precision property.voidSets the value of the read property.voidSets the value of the scale property.voidsetSecondPrecision(Integer value) Sets the value of the secondPrecision property.voidSets the value of the table property.voidSets the value of the unique property.voidsetUpdatable(Boolean value) Sets the value of the updatable property.voidSets 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 Jakarta XML Binding object. This is why there is not a
setmethod 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:
getCheckConstraintsin interfaceJaxbCheckable- Returns:
- The value of the checkConstraints property.
-
getDefault
Gets the value of the default property.- Specified by:
getDefaultin interfaceJaxbColumnDefaultable- Returns:
- possible object is
String
-
setDefault
-
getRead
Gets the value of the read property.- Specified by:
getReadin interfaceJaxbColumnStandard- Returns:
- possible object is
String
-
setRead
-
getWrite
Gets the value of the write property.- Specified by:
getWritein interfaceJaxbColumnStandard- Returns:
- possible object is
String
-
setWrite
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbColumn- Returns:
- possible object is
String
-
setName
-
isUnique
Gets the value of the unique property.- Specified by:
isUniquein interfaceJaxbColumnUniqueable- Returns:
- possible object is
Boolean
-
setUnique
-
isNullable
Gets the value of the nullable property.- Specified by:
isNullablein interfaceJaxbColumnNullable- Returns:
- possible object is
Boolean
-
setNullable
-
isInsertable
Gets the value of the insertable property.- Specified by:
isInsertablein interfaceJaxbColumnMutable- Returns:
- possible object is
Boolean
-
setInsertable
-
isUpdatable
Gets the value of the updatable property.- Specified by:
isUpdatablein interfaceJaxbColumnMutable- Returns:
- possible object is
Boolean
-
setUpdatable
-
getColumnDefinition
Gets the value of the columnDefinition property.- Specified by:
getColumnDefinitionin interfaceJaxbColumnDefinable- Returns:
- possible object is
String
-
setColumnDefinition
-
getOptions
Gets the value of the options property.- Specified by:
getOptionsin interfaceJaxbColumnDefinable- Returns:
- possible object is
String
-
setOptions
-
getTable
Gets the value of the table property.- Specified by:
getTablein interfaceJaxbColumn- Returns:
- possible object is
String
-
setTable
-
getLength
Gets the value of the length property.- Specified by:
getLengthin interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setLength
-
getPrecision
Gets the value of the precision property.- Specified by:
getPrecisionin interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setPrecision
-
getScale
Gets the value of the scale property.- Specified by:
getScalein interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setScale
-
getComment
Gets the value of the comment property.- Specified by:
getCommentin interfaceJaxbCommentable- Returns:
- possible object is
String
-
setComment
-
getSecondPrecision
Gets the value of the secondPrecision property.- Specified by:
getSecondPrecisionin interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setSecondPrecision
-