Class ColumnMeta

java.lang.Object
org.nuiton.topia.persistence.metadata.ColumnMeta
All Implemented Interfaces:
Serializable

public class ColumnMeta extends Object implements Serializable
Define the meta data of a entity field.
Since:
2.6.12
Author:
Tony Chemit - [email protected]
See Also:
  • Field Details

    • name

      protected String name
      Name of the column.
    • type

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

    • ColumnMeta

      protected ColumnMeta(String name, Class<?> type)
  • Method Details

    • newMeta

      protected static ColumnMeta newMeta(String name, Class<?> type)
    • getName

      public String getName()
    • getType

      public Class<?> getType()
    • getTypeSimpleName

      public String getTypeSimpleName()
    • getColumnType

      public String getColumnType()
    • isFK

      public boolean isFK()
    • isDate

      public boolean isDate()
    • isBoolean

      public boolean isBoolean()
    • isNumber

      public boolean isNumber()