Interface ColumnInfo

All Superinterfaces:
Comparable<ColumnInfo>
All Known Subinterfaces:
ModelColumnInfo
All Known Implementing Classes:
ModelColumnInfoImpl, SimpleColumnInfo

public interface ColumnInfo extends Comparable<ColumnInfo>
All properties needed to create columns for a table.
  • Method Details

    • isLocalized

      boolean isLocalized()
    • getType

      String getType()
    • getValueType

    • getLocale

      @Nullable @Nullable Locale getLocale()
    • isDefaultLanguage

      boolean isDefaultLanguage()
      If the field/column is localized, this returns whether this column represents the nice2 default language.
    • isIdentifier

      boolean isIdentifier()
    • isUnique

      boolean isUnique()
    • getColumnName

      String getColumnName()
    • isPrimaryKey

      boolean isPrimaryKey()
    • isNullable

      boolean isNullable()
    • getForeignKey

      @Nullable ConstraintInfo.ForeignKey getForeignKey()
    • isRemoved

      boolean isRemoved()
      Returns:
      whether this column/field has been removed by the customer module