Class ColumnMeta
java.lang.Object
org.nuiton.topia.persistence.metadata.ColumnMeta
- All Implemented Interfaces:
java.io.Serializable
public class ColumnMeta
extends java.lang.Object
implements java.io.Serializable
Define the meta data of a entity field.
- Since:
- 2.6.12
- Author:
- tchemit <chemit@codelutin.com>
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedColumnMeta(java.lang.String name, java.lang.Class<?> type) -
Method Summary
Modifier and Type Method Description java.lang.StringgetColumnType()java.lang.StringgetName()java.lang.Class<?>getType()java.lang.StringgetTypeSimpleName()booleanisBoolean()booleanisDate()booleanisFK()booleanisNumber()protected static ColumnMetanewMeta(java.lang.String name, java.lang.Class<?> type)
-
Field Details
-
Constructor Details
-
ColumnMeta
protected ColumnMeta(java.lang.String name, java.lang.Class<?> type)
-
-
Method Details
-
newMeta
-
getName
public java.lang.String getName() -
getType
public java.lang.Class<?> getType() -
getTypeSimpleName
public java.lang.String getTypeSimpleName() -
getColumnType
public java.lang.String getColumnType() -
isFK
public boolean isFK() -
isDate
public boolean isDate() -
isBoolean
public boolean isBoolean() -
isNumber
public boolean isNumber()
-