Package com.e1c.langtool.storage.model
Class RuleSettings
java.lang.Object
com.e1c.langtool.storage.model.RuleSettings
The rule settings of how to select a Storage ID from it's list of storag IDs.
This model object is not allowed to modify after created project settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the id of the rule.Gets the list of storage IDs.Gets the list of storage IDs.getWhen()Gets the condition settings when this rule should be applied.voidSets the id of the rulevoidsetStorages(StorageIdList storages) Sets the list of storage IDs.voidSets the condition settings when this rule should be applied.
-
Constructor Details
-
RuleSettings
public RuleSettings()
-
-
Method Details
-
getId
Gets the id of the rule.- Returns:
- the id of the rule, can return
nullin model object not created properly.
-
setId
Sets the id of the rule- Parameters:
id- the new id, should not be benull.
-
getStorages
Gets the list of storage IDs.- Returns:
- the list of storage IDs, cannot return
null.
-
getStorageIds
Gets the list of storage IDs.- Returns:
- the list of storage IDs, cannot return
null.
-
setStorages
Sets the list of storage IDs.- Parameters:
storages- the new list of storages, can benull.
-
getWhen
Gets the condition settings when this rule should be applied.- Returns:
- the when condition settings, cannot return
null.
-
setWhen
Sets the condition settings when this rule should be applied.- Parameters:
when- the when condition settings, can benull.
-