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

public class JaxbColumnImpl extends Object implements Serializable, JaxbColumnStandard
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 Details

    • checkConstraints

      protected List<JaxbCheckConstraintImpl> checkConstraints
    • _default

      protected String _default
    • read

      protected String read
    • write

      protected String write
    • name

      protected String name
    • unique

      protected Boolean unique
    • nullable

      protected Boolean nullable
    • insertable

      protected Boolean insertable
    • updatable

      protected Boolean updatable
    • columnDefinition

      protected String columnDefinition
    • options

      protected String options
    • table

      protected String table
    • length

      protected Integer length
    • precision

      protected Integer precision
    • scale

      protected Integer scale
    • comment

      protected String comment
    • secondPrecision

      protected Integer secondPrecision
  • Constructor Details

    • JaxbColumnImpl

      public JaxbColumnImpl()
  • Method Details

    • getCheckConstraints

      public List<JaxbCheckConstraintImpl> 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 interface JaxbCheckable
      Returns:
      The value of the checkConstraints property.
    • getDefault

      public String getDefault()
      Gets the value of the default property.
      Specified by:
      getDefault in interface JaxbColumnDefaultable
      Returns:
      possible object is String
    • setDefault

      public void setDefault(String value)
      Sets the value of the default property.
      Parameters:
      value - allowed object is String
    • getRead

      public String getRead()
      Gets the value of the read property.
      Specified by:
      getRead in interface JaxbColumnStandard
      Returns:
      possible object is String
    • setRead

      public void setRead(String value)
      Sets the value of the read property.
      Parameters:
      value - allowed object is String
    • getWrite

      public String getWrite()
      Gets the value of the write property.
      Specified by:
      getWrite in interface JaxbColumnStandard
      Returns:
      possible object is String
    • setWrite

      public void setWrite(String value)
      Sets the value of the write property.
      Parameters:
      value - allowed object is String
    • getName

      public String getName()
      Gets the value of the name property.
      Specified by:
      getName in interface JaxbColumn
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isUnique

      public Boolean isUnique()
      Gets the value of the unique property.
      Specified by:
      isUnique in interface JaxbColumnUniqueable
      Returns:
      possible object is Boolean
    • setUnique

      public void setUnique(Boolean value)
      Sets the value of the unique property.
      Parameters:
      value - allowed object is Boolean
    • isNullable

      public Boolean isNullable()
      Gets the value of the nullable property.
      Specified by:
      isNullable in interface JaxbColumnNullable
      Returns:
      possible object is Boolean
    • setNullable

      public void setNullable(Boolean value)
      Sets the value of the nullable property.
      Parameters:
      value - allowed object is Boolean
    • isInsertable

      public Boolean isInsertable()
      Gets the value of the insertable property.
      Specified by:
      isInsertable in interface JaxbColumnMutable
      Returns:
      possible object is Boolean
    • setInsertable

      public void setInsertable(Boolean value)
      Sets the value of the insertable property.
      Parameters:
      value - allowed object is Boolean
    • isUpdatable

      public Boolean isUpdatable()
      Gets the value of the updatable property.
      Specified by:
      isUpdatable in interface JaxbColumnMutable
      Returns:
      possible object is Boolean
    • setUpdatable

      public void setUpdatable(Boolean value)
      Sets the value of the updatable property.
      Parameters:
      value - allowed object is Boolean
    • getColumnDefinition

      public String getColumnDefinition()
      Gets the value of the columnDefinition property.
      Specified by:
      getColumnDefinition in interface JaxbColumnDefinable
      Returns:
      possible object is String
    • setColumnDefinition

      public void setColumnDefinition(String value)
      Sets the value of the columnDefinition property.
      Parameters:
      value - allowed object is String
    • getOptions

      public String getOptions()
      Gets the value of the options property.
      Specified by:
      getOptions in interface JaxbColumnDefinable
      Returns:
      possible object is String
    • setOptions

      public void setOptions(String value)
      Sets the value of the options property.
      Parameters:
      value - allowed object is String
    • getTable

      public String getTable()
      Gets the value of the table property.
      Specified by:
      getTable in interface JaxbColumn
      Returns:
      possible object is String
    • setTable

      public void setTable(String value)
      Sets the value of the table property.
      Parameters:
      value - allowed object is String
    • getLength

      public Integer getLength()
      Gets the value of the length property.
      Specified by:
      getLength in interface JaxbColumnSizable
      Returns:
      possible object is Integer
    • setLength

      public void setLength(Integer value)
      Sets the value of the length property.
      Parameters:
      value - allowed object is Integer
    • getPrecision

      public Integer getPrecision()
      Gets the value of the precision property.
      Specified by:
      getPrecision in interface JaxbColumnSizable
      Returns:
      possible object is Integer
    • setPrecision

      public void setPrecision(Integer value)
      Sets the value of the precision property.
      Parameters:
      value - allowed object is Integer
    • getScale

      public Integer getScale()
      Gets the value of the scale property.
      Specified by:
      getScale in interface JaxbColumnSizable
      Returns:
      possible object is Integer
    • setScale

      public void setScale(Integer value)
      Sets the value of the scale property.
      Parameters:
      value - allowed object is Integer
    • getComment

      public String getComment()
      Gets the value of the comment property.
      Specified by:
      getComment in interface JaxbCommentable
      Returns:
      possible object is String
    • setComment

      public void setComment(String value)
      Sets the value of the comment property.
      Parameters:
      value - allowed object is String
    • getSecondPrecision

      public Integer getSecondPrecision()
      Gets the value of the secondPrecision property.
      Specified by:
      getSecondPrecision in interface JaxbColumnSizable
      Returns:
      possible object is Integer
    • setSecondPrecision

      public void setSecondPrecision(Integer value)
      Sets the value of the secondPrecision property.
      Parameters:
      value - allowed object is Integer