Package com.e1c.langtool.settings
Interface FeatureSettings
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DtFeatureSettings,EFeatureSettings,ModelValueProviderExtension
- All Known Implementing Classes:
CommonFeatureSettings,EFeatureSettingsImpl,V8FeatureSettings,V8FeatureSettings.V8ModelFeatureSettings
The interface is common for a settings of feature of object that should be translated.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name of the feature.Gets the presentation of feature.default booleanChecks if the feature is camel case.booleanisId()Checks if the feature is ID.booleanChecks if the feature is interface or localizable.default booleanisModel()Checks if the feature is model feature and not interface feature.default booleanChecks if the feature is multi-line.default booleanChecks if the feature is prefer context storing.default booleanisTag()Checks if the feature is tag or tag paramdefault booleanisUnique()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. TheFeatureValuecan provide aMapofLocalString.- 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
-