|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
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.InterSegmentValidator oracle.apps.fnd.applcore.flex.runtime.util.common.RangeValidator
public class RangeValidator
Validator that checks whether the value a segment is greater than or equal to the value of another segment.
Constructor Summary | |
---|---|
RangeValidator(SegmentDef lowSeg,
SegmentDef highSeg)
Constructs a range validator. |
Method Summary | |
---|---|
java.lang.String |
getExpression(java.util.Map<SegmentDef,java.lang.String> segToAttrExprMap)
Gets the expression for this inter-segment validation. |
java.lang.String |
getMessageKey()
Gets the key of the message. |
java.util.Map<java.lang.String,java.lang.String> |
getMessageTokens()
Gets the tokens in the message. |
java.util.Map<java.lang.String,java.lang.String> |
getMessageTokens(java.util.Map<SegmentDef,java.lang.String> segToPromptExprMap)
Gets the message tokens. |
java.lang.String |
getResourceBundleID()
Gets the ID of the resource bundle where the messages are defined. |
java.util.List<SegmentDef> |
getSegments()
Gets the segments involved in this validator. |
boolean |
isGlobal()
Returns true if this validator involves only global segments. |
protected void |
setMessageKey(java.lang.String key)
Sets the key of the message. |
protected void |
setMessageToken(java.lang.String token,
java.lang.String expr)
Sets a message token. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RangeValidator(SegmentDef lowSeg, SegmentDef highSeg)
lowSeg
- the low segmenthighSeg
- the high segment
java.lang.IllegalArgumentException
- if the low or high segment is null
java.lang.NullPointerException
- if the low segment has no validatorMethod Detail |
---|
public java.lang.String getExpression(java.util.Map<SegmentDef,java.lang.String> segToAttrExprMap)
InterSegmentValidator
The implementation should use only the get
method of the given
map. Unless indicated otherwise, all other methods of the map may result
in UnsupportedOperationException
or undefined behavior.
getExpression
in class InterSegmentValidator
segToAttrExprMap
- the map from segments to their attribute
expressions
public boolean isGlobal()
InterSegmentValidator
isGlobal
in class InterSegmentValidator
public java.util.List<SegmentDef> getSegments()
InterSegmentValidator
getSegments
in class InterSegmentValidator
public java.util.Map<java.lang.String,java.lang.String> getMessageTokens(java.util.Map<SegmentDef,java.lang.String> segToPromptExprMap)
InterSegmentValidator
The implementation should use only the get
method of the given
map. Unless indicated otherwise, all other methods of the map may result
in UnsupportedOperationException
or undefined behavior.
getMessageTokens
in class InterSegmentValidator
segToPromptExprMap
- the map from the segments to the expressions of
their prompts
public java.lang.String getResourceBundleID()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMessageKey()
protected void setMessageKey(java.lang.String key)
key
- the key of the 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 expression
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |