|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.util.common.ValidationRule
public class ValidationRule
A validation rule.
Field Summary | |
---|---|
static java.lang.String |
VALUE_TOKEN
The token that represents the value to be validated. |
Constructor Summary | |
---|---|
protected |
ValidationRule(java.lang.String expression)
Constructs a validation rule with an expression. |
Method Summary | |
---|---|
java.lang.String |
getExpression()
Gets the expression associated with this rule. |
java.lang.String |
getMessageKey()
Gets the key of the error/warning message displayed when validation fails. |
java.util.Map<java.lang.String,java.lang.String> |
getMessageTokens()
Gets the tokens in the message. |
java.lang.String |
getResolvedExpression(java.lang.String tokenValue)
Gets the expression with the value token resolved. |
java.lang.String |
getResourceBundleID()
Gets the ID of the resource bundle where the messages are defined. |
protected void |
setMessageKey(java.lang.String key)
Sets the key of the error/warning message displayed when validation fails. |
protected void |
setMessageToken(java.lang.String token,
java.lang.String expr)
Sets a message token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VALUE_TOKEN
Constructor Detail |
---|
protected ValidationRule(java.lang.String expression)
expression
- the expressionMethod Detail |
---|
public java.lang.String getExpression()
public java.lang.String getResolvedExpression(java.lang.String tokenValue)
tokenValue
- the actual identifier that represents the value
public java.lang.String getMessageKey()
protected void setMessageKey(java.lang.String key)
key
- the key of the error/warning messagepublic java.util.Map<java.lang.String,java.lang.String> getMessageTokens()
protected void setMessageToken(java.lang.String token, java.lang.String expr)
token
- the name of the tokenexpr
- the expressionpublic java.lang.String getResourceBundleID()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |