Package org.ametys.plugins.forms.table
Class FormTableManager.DbColumn
- java.lang.Object
-
- org.ametys.plugins.forms.table.FormTableManager.DbColumn
-
- Enclosing class:
- FormTableManager
class FormTableManager.DbColumn extends Object
Class representing a db column.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnSize()Get the columnSize.StringgetColumnTypeIdentifier()Get a type identifier corresponding to the column (i.e.StringgetName()Get the name.intgetSqlType()Get the sqlType.StringgetTypeName()Get the typeName.voidsetColumnSize(int columnSize)Set the columnSize.voidsetName(String name)Set the name.voidsetSqlType(int sqlType)Set the sqlType.voidsetTypeName(String typeName)Set the typeName.
-
-
-
Method Detail
-
getSqlType
public int getSqlType()
Get the sqlType.- Returns:
- the sqlType
-
setSqlType
public void setSqlType(int sqlType)
Set the sqlType.- Parameters:
sqlType- the sqlType to set
-
getTypeName
public String getTypeName()
Get the typeName.- Returns:
- the typeName
-
setTypeName
public void setTypeName(String typeName)
Set the typeName.- Parameters:
typeName- the typeName to set
-
getColumnSize
public int getColumnSize()
Get the columnSize.- Returns:
- the columnSize
-
setColumnSize
public void setColumnSize(int columnSize)
Set the columnSize.- Parameters:
columnSize- the columnSize to set
-
getColumnTypeIdentifier
public String getColumnTypeIdentifier()
Get a type identifier corresponding to the column (i.e. TEXT, VARCHAR(255), INT(1), and so on.)- Returns:
- a type identifier corresponding to the column (i.e. TEXT, VARCHAR(255), INT(1), and so on.)
-
-