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 ValueSetUsage

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.common.ValueSetUsage
Direct Known Subclasses:
CustomValueSetUsage, SecuredValueSetUsage

public class ValueSetUsage
extends java.lang.Object

The usage of a value set on a segment.


Constructor Summary
protected ValueSetUsage(ValueSetDef vsd, boolean isNullAllowed)
          Constructs a value-set usage.
 
Method Summary
 java.util.List<SegmentLabel.ValidationRuleInstance> getExtraValidationRules()
          Gets the extra validation rules.
 SegmentDef getReferenceSegment()
          Gets the segment referenced by this usage.
 ValueSetDef getValueSetDef()
          Gets the value-set definition this usage is based on.
 boolean isNullAllowed()
          Returns true if value null is allowed.
protected  void setExtraValidationRules(java.util.List<SegmentLabel.ValidationRuleInstance> list)
          Sets the extra validation rules.
protected  void setNullAllowed(boolean b)
          Sets whether null is allowed.
protected  void setReferenceSegment(SegmentDef seg)
          Sets the segment referenced by this usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueSetUsage

protected ValueSetUsage(ValueSetDef vsd,
                        boolean isNullAllowed)
Constructs a value-set usage.

Parameters:
vsd - the value-set definition
isNullAllowed - true if null is allowed
Method Detail

getValueSetDef

public final ValueSetDef getValueSetDef()
Gets the value-set definition this usage is based on.

Returns:
the value-set definition

setReferenceSegment

protected void setReferenceSegment(SegmentDef seg)
Sets the segment referenced by this usage.

Parameters:
seg - the reference segment

getReferenceSegment

public SegmentDef getReferenceSegment()
Gets the segment referenced by this usage.

Returns:
the reference segment

isNullAllowed

public boolean isNullAllowed()
Returns true if value null is allowed.

Returns:
true if value null is allowed

setNullAllowed

protected void setNullAllowed(boolean b)
Sets whether null is allowed.

Parameters:
b - true if null is allowed

getExtraValidationRules

public java.util.List<SegmentLabel.ValidationRuleInstance> getExtraValidationRules()
Gets the extra validation rules.

Returns:
the extra validation rules if any; an empty list if there's no extra validation rules

setExtraValidationRules

protected void setExtraValidationRules(java.util.List<SegmentLabel.ValidationRuleInstance> list)
Sets the extra validation rules.

Parameters:
list - the list of extra validation rules

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

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.