public class JaxbHbmColumnType extends Object implements 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>The following schema fragment specifies the expected content contained within this class.
<pre> <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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
_default |
protected String |
check |
protected String |
comment |
protected String |
index |
protected Integer |
length |
protected String |
name |
protected Boolean |
notNull |
protected Integer |
precision |
protected String |
read |
protected Integer |
scale |
protected String |
sqlType |
protected Boolean |
unique |
protected String |
uniqueKey |
protected String |
write |
| Constructor and Description |
|---|
JaxbHbmColumnType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCheck()
Gets the value of the check property.
|
String |
getComment()
Gets the value of the comment property.
|
String |
getDefault()
Gets the value of the default property.
|
String |
getIndex()
Gets the value of the index property.
|
Integer |
getLength()
Gets the value of the length property.
|
String |
getName()
Gets the value of the name property.
|
Integer |
getPrecision()
Gets the value of the precision property.
|
String |
getRead()
Gets the value of the read property.
|
Integer |
getScale()
Gets the value of the scale property.
|
String |
getSqlType()
Gets the value of the sqlType property.
|
String |
getUniqueKey()
Gets the value of the uniqueKey property.
|
String |
getWrite()
Gets the value of the write property.
|
Boolean |
isNotNull()
Gets the value of the notNull property.
|
Boolean |
isUnique()
Gets the value of the unique property.
|
void |
setCheck(String value)
Sets the value of the check property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setIndex(String value)
Sets the value of the index property.
|
void |
setLength(Integer value)
Sets the value of the length property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNotNull(Boolean value)
Sets the value of the notNull property.
|
void |
setPrecision(Integer value)
Sets the value of the precision property.
|
void |
setRead(String value)
Sets the value of the read property.
|
void |
setScale(Integer value)
Sets the value of the scale property.
|
void |
setSqlType(String value)
Sets the value of the sqlType property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
void |
setUniqueKey(String value)
Sets the value of the uniqueKey property.
|
void |
setWrite(String value)
Sets the value of the write property.
|
protected String comment
protected String check
protected String _default
protected String index
protected Integer length
protected String name
protected Boolean notNull
protected Integer precision
protected String read
protected Integer scale
protected String sqlType
protected Boolean unique
protected String uniqueKey
protected String write
public String getComment()
Gets the value of the comment property.
Stringpublic void setComment(String value)
Sets the value of the comment property.
value - allowed object is
Stringpublic String getCheck()
Gets the value of the check property.
Stringpublic void setCheck(String value)
Sets the value of the check property.
value - allowed object is
Stringpublic String getDefault()
Gets the value of the default property.
Stringpublic void setDefault(String value)
Sets the value of the default property.
value - allowed object is
Stringpublic String getIndex()
Gets the value of the index property.
Stringpublic void setIndex(String value)
Sets the value of the index property.
value - allowed object is
Stringpublic Integer getLength()
Gets the value of the length property.
Integerpublic void setLength(Integer value)
Sets the value of the length property.
value - allowed object is
Integerpublic String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic Boolean isNotNull()
Gets the value of the notNull property.
Booleanpublic void setNotNull(Boolean value)
Sets the value of the notNull property.
value - allowed object is
Booleanpublic Integer getPrecision()
Gets the value of the precision property.
Integerpublic void setPrecision(Integer value)
Sets the value of the precision property.
value - allowed object is
Integerpublic String getRead()
Gets the value of the read property.
Stringpublic void setRead(String value)
Sets the value of the read property.
value - allowed object is
Stringpublic Integer getScale()
Gets the value of the scale property.
Integerpublic void setScale(Integer value)
Sets the value of the scale property.
value - allowed object is
Integerpublic String getSqlType()
Gets the value of the sqlType property.
Stringpublic void setSqlType(String value)
Sets the value of the sqlType property.
value - allowed object is
Stringpublic Boolean isUnique()
Gets the value of the unique property.
Booleanpublic void setUnique(Boolean value)
Sets the value of the unique property.
value - allowed object is
Booleanpublic String getUniqueKey()
Gets the value of the uniqueKey property.
Stringpublic void setUniqueKey(String value)
Sets the value of the uniqueKey property.
value - allowed object is
Stringpublic String getWrite()
Gets the value of the write property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.