Class JaxbHbmColumnType

  • All Implemented Interfaces:
    java.io.Serializable

    public class JaxbHbmColumnType
    extends java.lang.Object
    implements java.io.Serializable
    The column element is an alternative to column attributes and required for mapping associations to classes with composite ids.

    Java class for ColumnType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ColumnType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
           <attribute name="check" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="read" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="write" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String _default  
      protected java.lang.String check  
      protected java.lang.String comment  
      protected java.lang.String index  
      protected java.lang.Integer length  
      protected java.lang.String name  
      protected java.lang.Boolean notNull  
      protected java.lang.Integer precision  
      protected java.lang.String read  
      protected java.lang.Integer scale  
      protected java.lang.String sqlType  
      protected java.lang.Boolean unique  
      protected java.lang.String uniqueKey  
      protected java.lang.String write  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCheck()
      Gets the value of the check property.
      java.lang.String getComment()
      Gets the value of the comment property.
      java.lang.String getDefault()
      Gets the value of the default property.
      java.lang.String getIndex()
      Gets the value of the index property.
      java.lang.Integer getLength()
      Gets the value of the length property.
      java.lang.String getName()
      Gets the value of the name property.
      java.lang.Integer getPrecision()
      Gets the value of the precision property.
      java.lang.String getRead()
      Gets the value of the read property.
      java.lang.Integer getScale()
      Gets the value of the scale property.
      java.lang.String getSqlType()
      Gets the value of the sqlType property.
      java.lang.String getUniqueKey()
      Gets the value of the uniqueKey property.
      java.lang.String getWrite()
      Gets the value of the write property.
      java.lang.Boolean isNotNull()
      Gets the value of the notNull property.
      java.lang.Boolean isUnique()
      Gets the value of the unique property.
      void setCheck​(java.lang.String value)
      Sets the value of the check property.
      void setComment​(java.lang.String value)
      Sets the value of the comment property.
      void setDefault​(java.lang.String value)
      Sets the value of the default property.
      void setIndex​(java.lang.String value)
      Sets the value of the index property.
      void setLength​(java.lang.Integer value)
      Sets the value of the length property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setNotNull​(java.lang.Boolean value)
      Sets the value of the notNull property.
      void setPrecision​(java.lang.Integer value)
      Sets the value of the precision property.
      void setRead​(java.lang.String value)
      Sets the value of the read property.
      void setScale​(java.lang.Integer value)
      Sets the value of the scale property.
      void setSqlType​(java.lang.String value)
      Sets the value of the sqlType property.
      void setUnique​(java.lang.Boolean value)
      Sets the value of the unique property.
      void setUniqueKey​(java.lang.String value)
      Sets the value of the uniqueKey property.
      void setWrite​(java.lang.String value)
      Sets the value of the write property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • comment

        protected java.lang.String comment
      • check

        protected java.lang.String check
      • _default

        protected java.lang.String _default
      • index

        protected java.lang.String index
      • length

        protected java.lang.Integer length
      • name

        protected java.lang.String name
      • notNull

        protected java.lang.Boolean notNull
      • precision

        protected java.lang.Integer precision
      • read

        protected java.lang.String read
      • scale

        protected java.lang.Integer scale
      • sqlType

        protected java.lang.String sqlType
      • unique

        protected java.lang.Boolean unique
      • uniqueKey

        protected java.lang.String uniqueKey
      • write

        protected java.lang.String write
    • Constructor Detail

      • JaxbHbmColumnType

        public JaxbHbmColumnType()
    • Method Detail

      • getComment

        public java.lang.String getComment()
        Gets the value of the comment property.
        Returns:
        possible object is String
      • setComment

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

        public java.lang.String getCheck()
        Gets the value of the check property.
        Returns:
        possible object is String
      • setCheck

        public void setCheck​(java.lang.String value)
        Sets the value of the check property.
        Parameters:
        value - allowed object is String
      • getDefault

        public java.lang.String getDefault()
        Gets the value of the default property.
        Returns:
        possible object is String
      • setDefault

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

        public java.lang.String getIndex()
        Gets the value of the index property.
        Returns:
        possible object is String
      • setIndex

        public void setIndex​(java.lang.String value)
        Sets the value of the index property.
        Parameters:
        value - allowed object is String
      • getLength

        public java.lang.Integer getLength()
        Gets the value of the length property.
        Returns:
        possible object is Integer
      • setLength

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

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

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

        public java.lang.Boolean isNotNull()
        Gets the value of the notNull property.
        Returns:
        possible object is Boolean
      • setNotNull

        public void setNotNull​(java.lang.Boolean value)
        Sets the value of the notNull property.
        Parameters:
        value - allowed object is Boolean
      • getPrecision

        public java.lang.Integer getPrecision()
        Gets the value of the precision property.
        Returns:
        possible object is Integer
      • setPrecision

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

        public java.lang.String getRead()
        Gets the value of the read property.
        Returns:
        possible object is String
      • setRead

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

        public java.lang.Integer getScale()
        Gets the value of the scale property.
        Returns:
        possible object is Integer
      • setScale

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

        public java.lang.String getSqlType()
        Gets the value of the sqlType property.
        Returns:
        possible object is String
      • setSqlType

        public void setSqlType​(java.lang.String value)
        Sets the value of the sqlType property.
        Parameters:
        value - allowed object is String
      • isUnique

        public java.lang.Boolean isUnique()
        Gets the value of the unique property.
        Returns:
        possible object is Boolean
      • setUnique

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

        public java.lang.String getUniqueKey()
        Gets the value of the uniqueKey property.
        Returns:
        possible object is String
      • setUniqueKey

        public void setUniqueKey​(java.lang.String value)
        Sets the value of the uniqueKey property.
        Parameters:
        value - allowed object is String
      • getWrite

        public java.lang.String getWrite()
        Gets the value of the write property.
        Returns:
        possible object is String
      • setWrite

        public void setWrite​(java.lang.String value)
        Sets the value of the write property.
        Parameters:
        value - allowed object is String