Class Column
- java.lang.Object
-
- org.hibernate.jpamodelgen.xml.jaxb.Column
-
public class Column extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcolumnDefinitionprotected java.lang.Booleaninsertableprotected java.lang.Integerlengthprotected java.lang.Stringnameprotected java.lang.Booleannullableprotected java.lang.Integerprecisionprotected java.lang.Integerscaleprotected java.lang.Stringtableprotected java.lang.Booleanuniqueprotected java.lang.Booleanupdatable
-
Constructor Summary
Constructors Constructor Description Column()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetColumnDefinition()Gets the value of the columnDefinition property.java.lang.IntegergetLength()Gets the value of the length property.java.lang.StringgetName()Gets the value of the name property.java.lang.IntegergetPrecision()Gets the value of the precision property.java.lang.IntegergetScale()Gets the value of the scale property.java.lang.StringgetTable()Gets the value of the table property.java.lang.BooleanisInsertable()Gets the value of the insertable property.java.lang.BooleanisNullable()Gets the value of the nullable property.java.lang.BooleanisUnique()Gets the value of the unique property.java.lang.BooleanisUpdatable()Gets the value of the updatable property.voidsetColumnDefinition(java.lang.String value)Sets the value of the columnDefinition property.voidsetInsertable(java.lang.Boolean value)Sets the value of the insertable property.voidsetLength(java.lang.Integer value)Sets the value of the length property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNullable(java.lang.Boolean value)Sets the value of the nullable property.voidsetPrecision(java.lang.Integer value)Sets the value of the precision property.voidsetScale(java.lang.Integer value)Sets the value of the scale property.voidsetTable(java.lang.String value)Sets the value of the table property.voidsetUnique(java.lang.Boolean value)Sets the value of the unique property.voidsetUpdatable(java.lang.Boolean value)Sets the value of the updatable property.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
unique
protected java.lang.Boolean unique
-
nullable
protected java.lang.Boolean nullable
-
insertable
protected java.lang.Boolean insertable
-
updatable
protected java.lang.Boolean updatable
-
columnDefinition
protected java.lang.String columnDefinition
-
table
protected java.lang.String table
-
length
protected java.lang.Integer length
-
precision
protected java.lang.Integer precision
-
scale
protected java.lang.Integer scale
-
-
Method Detail
-
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 isString
-
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 isBoolean
-
isNullable
public java.lang.Boolean isNullable()
Gets the value of the nullable property.- Returns:
- possible object is
Boolean
-
setNullable
public void setNullable(java.lang.Boolean value)
Sets the value of the nullable property.- Parameters:
value- allowed object isBoolean
-
isInsertable
public java.lang.Boolean isInsertable()
Gets the value of the insertable property.- Returns:
- possible object is
Boolean
-
setInsertable
public void setInsertable(java.lang.Boolean value)
Sets the value of the insertable property.- Parameters:
value- allowed object isBoolean
-
isUpdatable
public java.lang.Boolean isUpdatable()
Gets the value of the updatable property.- Returns:
- possible object is
Boolean
-
setUpdatable
public void setUpdatable(java.lang.Boolean value)
Sets the value of the updatable property.- Parameters:
value- allowed object isBoolean
-
getColumnDefinition
public java.lang.String getColumnDefinition()
Gets the value of the columnDefinition property.- Returns:
- possible object is
String
-
setColumnDefinition
public void setColumnDefinition(java.lang.String value)
Sets the value of the columnDefinition property.- Parameters:
value- allowed object isString
-
getTable
public java.lang.String getTable()
Gets the value of the table property.- Returns:
- possible object is
String
-
setTable
public void setTable(java.lang.String value)
Sets the value of the table property.- Parameters:
value- allowed object isString
-
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 isInteger
-
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 isInteger
-
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 isInteger
-
-