Class TemplateDataViewDefaults.Column

java.lang.Object
com.inet.config.structure.model.LocalizedKey
com.inet.report.adhoc.server.api.dataview.TemplateDataViewDefaults.Column
All Implemented Interfaces:
com.inet.lib.i18n.DisplayableKey<String>
Enclosing interface:
TemplateDataViewDefaults

@JsonData public static class TemplateDataViewDefaults.Column extends com.inet.config.structure.model.LocalizedKey
Define a available column
Since:
25.4
  • Constructor Summary

    Constructors
    Constructor
    Description
    Column(@Nonnull String name, @Nullable String label, int dataType)
    Create a new Column
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The data type
    @Nonnull String

    Methods inherited from class com.inet.config.structure.model.LocalizedKey

    equals, getKey, getLabel, hashCode, setKey, setLabel, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Column

      public Column(@Nonnull @Nonnull String name, @Nullable @Nullable String label, int dataType)
      Create a new Column
      Parameters:
      name - the full name (alias.column) like Orders.CustomerID
      label - the optional label if different to the label
      dataType - the data type, a constant from Field @
  • Method Details

    • getDataType

      public int getDataType()
      The data type
      Returns:
      constant from Field
    • getDisplayName

      @Nonnull public @Nonnull String getDisplayName()
      Specified by:
      getDisplayName in interface com.inet.lib.i18n.DisplayableKey<String>
      Overrides:
      getDisplayName in class com.inet.config.structure.model.LocalizedKey