|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
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.SegmentLabel.ValidationRuleExpression
public static final class SegmentLabel.ValidationRuleExpression
A validation rule expression.
Nested Class Summary | |
---|---|
static interface |
SegmentLabel.ValidationRuleExpression.BoundValue
A bound value. |
static class |
SegmentLabel.ValidationRuleExpression.BoundValueKind
Bound value kind. |
Constructor Summary | |
---|---|
SegmentLabel.ValidationRuleExpression(java.lang.String expr)
Constructs a validation rule expression. |
Method Summary | |
---|---|
java.util.List<SegmentLabel.ValidationRuleExpression.BoundValue> |
getBoundValues()
Gets the list of bound values in this expression. |
java.lang.String |
getExpression()
Gets the expression. |
SegmentLabel.ValidationRuleExpression |
replaceValueAttributeTokens(java.util.Map<java.lang.String,java.lang.String> replacements)
Replaces value attribute tokens with Strings. |
SegmentLabel.ValidationRuleExpression |
replaceValueToken(java.lang.String replacement)
Replaces all occurrences of the value token with a String. |
SegmentLabel.ValidationRuleExpression |
resolveBoundValues(java.util.Map<java.lang.Integer,java.lang.String> replacements)
Resolves the bound values in this expression. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SegmentLabel.ValidationRuleExpression(java.lang.String expr)
expr
- a validation rule expression
java.lang.IllegalArgumentException
- if the given expression is nullMethod Detail |
---|
public java.lang.String getExpression()
public java.util.List<SegmentLabel.ValidationRuleExpression.BoundValue> getBoundValues()
public SegmentLabel.ValidationRuleExpression resolveBoundValues(java.util.Map<java.lang.Integer,java.lang.String> replacements)
replacements
- the replacement Strings. The keys are the positions
of the bound values.
java.lang.NullPointerException
- if the given map is nullpublic SegmentLabel.ValidationRuleExpression replaceValueToken(java.lang.String replacement)
replacement
- the replacement String
public SegmentLabel.ValidationRuleExpression replaceValueAttributeTokens(java.util.Map<java.lang.String,java.lang.String> replacements)
replacements
- the replacement Strings. The keys are value attribute
codes while the values are the corresponding
replacement Strings
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |