Class JaxbHbmColumnType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmColumnType
- All Implemented Interfaces:
Serializable
The column element is an alternative to column attributes and required for
mapping associations to classes with composite ids.
<p>Java class for ColumnType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCheck()Gets the value of the check property.Gets the value of the comment property.Gets the value of the default property.getIndex()Gets the value of the index property.Gets the value of the length property.getName()Gets the value of the name 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 sqlType property.Gets the value of the uniqueKey property.getWrite()Gets the value of the write property.Gets the value of the notNull property.isUnique()Gets the value of the unique property.voidSets the value of the check property.voidsetComment(String value) Sets the value of the comment property.voidsetDefault(String value) Sets the value of the default property.voidSets the value of the index property.voidSets the value of the length property.voidSets the value of the name property.voidsetNotNull(Boolean value) Sets the value of the notNull 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.voidsetSqlType(String value) Sets the value of the sqlType property.voidSets the value of the unique property.voidsetUniqueKey(String value) Sets the value of the uniqueKey property.voidSets the value of the write property.
-
Field Details
-
comment
-
check
-
_default
-
index
-
length
-
name
-
notNull
-
precision
-
read
-
scale
-
sqlType
-
unique
-
uniqueKey
-
write
-
-
Constructor Details
-
JaxbHbmColumnType
public JaxbHbmColumnType()
-
-
Method Details
-
getComment
-
setComment
-
getCheck
-
setCheck
-
getDefault
-
setDefault
-
getIndex
-
setIndex
-
getLength
-
setLength
-
getName
-
setName
-
isNotNull
-
setNotNull
-
getPrecision
-
setPrecision
-
getRead
-
setRead
-
getScale
-
setScale
-
getSqlType
-
setSqlType
-
isUnique
-
setUnique
-
getUniqueKey
-
setUniqueKey
-
getWrite
-
setWrite
-