Interface FeatureSettings

All Superinterfaces:
Serializable
All Known Subinterfaces:
DtFeatureSettings, EFeatureSettings, ModelValueProviderExtension
All Known Implementing Classes:
CommonFeatureSettings, EFeatureSettingsImpl, V8FeatureSettings, V8FeatureSettings.V8ModelFeatureSettings

public interface FeatureSettings extends Serializable
The interface is common for a settings of feature of object that should be translated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the feature.
    Gets the presentation of feature.
    default boolean
    Checks if the feature is camel case.
    boolean
    Checks if the feature is ID.
    boolean
    Checks if the feature is interface or localizable.
    default boolean
    Checks if the feature is model feature and not interface feature.
    default boolean
    Checks if the feature is multi-line.
    default boolean
    Checks if the feature is prefer context storing.
    default boolean
    Checks if the feature is tag or tag param
    default boolean
    Checks if the feature must be unique in some scope.
  • Method Details

    • getName

      String getName()
      Gets the name of the feature.
      Returns:
      the name
    • isId

      boolean isId()
      Checks if the feature is ID. Could be checked for unique value in some scope.
      Returns:
      true, if the feature is ID
    • isUnique

      default boolean isUnique()
      Checks if the feature must be unique in some scope.
      Returns:
      true, if the feature is unique
    • isInterface

      boolean isInterface()
      Checks if the feature is interface or localizable. The FeatureValue can provide a Map of LocalString.
      Returns:
      true, if the feature is interface
    • isModel

      default boolean isModel()
      Checks if the feature is model feature and not interface feature.
      Returns:
      true, if the feature is model
    • getPresentation

      String getPresentation()
      Gets the presentation of feature. This value can be visible in UI and implementors must provide localized string if this possible.
      Returns:
      the presentation
    • isCamelCase

      default boolean isCamelCase()
      Checks if the feature is camel case.
      Returns:
      true, if the feature is camel case
    • isMultiLine

      default boolean isMultiLine()
      Checks if the feature is multi-line.
      Returns:
      true, if the feature is multi-line
    • isPreferContext

      default boolean isPreferContext()
      Checks if the feature is prefer context storing.
      Returns:
      true, if the feature is prefer context storing.
    • isTag

      default boolean isTag()
      Checks if the feature is tag or tag param
      Returns:
      true, if the feature is tag or tag param