Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.flex.runtime.util.common
Class SegmentLabel.ValidationRuleInstance

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.common.SegmentLabel.ValidationRuleInstance
Enclosing class:
SegmentLabel

public static class SegmentLabel.ValidationRuleInstance
extends java.lang.Object

An instance of a validation rule. A validation rule instance is created when a validation rule is associated with a segment through a label. Each instance may have its own resolved bound values.


Constructor Summary
SegmentLabel.ValidationRuleInstance(SegmentLabel.ValidationRule rule)
          Constructs an instance of a validation rule.
 
Method Summary
 SegmentDef getReferenceSegment(int position)
          Gets the reference segment associated with a bound value.
 SegmentLabel.ValidationRule getValidationRule()
          Gets the validation rule where this instance is derived from.
protected  void setReferenceSegment(int position, SegmentDef seg)
          Sets the reference segment for a given bound value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentLabel.ValidationRuleInstance

public SegmentLabel.ValidationRuleInstance(SegmentLabel.ValidationRule rule)
Constructs an instance of a validation rule.

Parameters:
rule - the validation rule
Throws:
if - the given validation rule is null
Method Detail

getValidationRule

public final SegmentLabel.ValidationRule getValidationRule()
Gets the validation rule where this instance is derived from.

Returns:
the validation rule

getReferenceSegment

public SegmentDef getReferenceSegment(int position)
Gets the reference segment associated with a bound value.

Parameters:
position - the bound value position
Returns:
the reference segment

setReferenceSegment

protected void setReferenceSegment(int position,
                                   SegmentDef seg)
Sets the reference segment for a given bound value.

Parameters:
position - the bound value position
seg - the reference segment

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.