Class RuleValidationKey
java.lang.Object
com.ptc.core.businessRules.validation.RuleValidationKey
- All Implemented Interfaces:
ValidationKey,Serializable
Validation key for the business rule.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a validation key for a business rule. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToProcessingMap(String key, Object value) A temporary store that can be used for storing pre-validation data.getLocalizedMessage(Locale locale) Returns the rule name stored on the business rule.Retrieves a value for the given key from the temporary store that can be used for storing pre-validation data.
Supported API: true
Supported API: true
Supported API: true
-
Constructor Details
-
RuleValidationKey
Create a validation key for a business rule.
Supported API: true- Parameters:
rule-
-
-
Method Details
-
getProcessingMapValue
Retrieves a value for the given key from the temporary store that can be used for storing pre-validation data.
Supported API: true- Parameters:
key-- Returns:
- value of key in map
-
addToProcessingMap
A temporary store that can be used for storing pre-validation data. To support thread safe processing of RuleValidation implementations when the cardinality is set to "singleton".
Supported API: true- Parameters:
key-value-
-
getRuleKey
Supported API: true- Returns:
- the business rule key
-
getSelector
Supported API: true- Returns:
- the business rule selector
-
getRuleConfig
Supported API: true- Returns:
- the business rule config
-
getLocalizedMessage
Returns the rule name stored on the business rule.
Supported API: true- Parameters:
locale- Locale used for localizing rule name.- Returns:
- Business rule name, or rule key if name is null.
-