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.String
columnDefinition
protected java.lang.Boolean
insertable
protected java.lang.Integer
length
protected java.lang.String
name
protected java.lang.Boolean
nullable
protected java.lang.Integer
precision
protected java.lang.Integer
scale
protected java.lang.String
table
protected java.lang.Boolean
unique
protected java.lang.Boolean
updatable
-
Constructor Summary
Constructors Constructor Description Column()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getColumnDefinition()
Gets the value of the columnDefinition 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.Integer
getScale()
Gets the value of the scale property.java.lang.String
getTable()
Gets the value of the table property.java.lang.Boolean
isInsertable()
Gets the value of the insertable property.java.lang.Boolean
isNullable()
Gets the value of the nullable property.java.lang.Boolean
isUnique()
Gets the value of the unique property.java.lang.Boolean
isUpdatable()
Gets the value of the updatable property.void
setColumnDefinition(java.lang.String value)
Sets the value of the columnDefinition property.void
setInsertable(java.lang.Boolean value)
Sets the value of the insertable 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
setNullable(java.lang.Boolean value)
Sets the value of the nullable property.void
setPrecision(java.lang.Integer value)
Sets the value of the precision property.void
setScale(java.lang.Integer value)
Sets the value of the scale property.void
setTable(java.lang.String value)
Sets the value of the table property.void
setUnique(java.lang.Boolean value)
Sets the value of the unique property.void
setUpdatable(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
-
-