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

    Fields 
    Modifier and Type Field Description
    protected java.lang.String name
    Name of the column.
    protected java.lang.Class<?> type
    Type of the column.
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected ColumnMeta​(java.lang.String name, java.lang.Class<?> type)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getColumnType()  
    java.lang.String getName()  
    java.lang.Class<?> getType()  
    java.lang.String getTypeSimpleName()  
    boolean isBoolean()  
    boolean isDate()  
    boolean isFK()  
    boolean isNumber()  
    protected static ColumnMeta newMeta​(java.lang.String name, java.lang.Class<?> type)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      protected java.lang.String name
      Name of the column.
    • type

      protected java.lang.Class<?> type
      Type of the column.
  • Constructor Details

    • ColumnMeta

      protected ColumnMeta​(java.lang.String name, java.lang.Class<?> type)
  • Method Details

    • newMeta

      protected static ColumnMeta newMeta​(java.lang.String name, java.lang.Class<?> type)
    • 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()