Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

oracle.apps.fnd.applcp.migrate.modeler.common
Class CustomValueSetUsage

java.lang.Object
  extended by oracle.apps.fnd.applcp.migrate.modeler.common.ValueSetUsage
      extended by oracle.apps.fnd.applcp.migrate.modeler.common.CustomValueSetUsage

public class CustomValueSetUsage
extends ValueSetUsage

The usage of a custom value set.


Constructor Summary
CustomValueSetUsage(CustomValueSetDef cvsd, boolean isNullAllowed)
          Constructs a usage of a custom value set.
 
Method Summary
 SegmentDef getReferenceSegment(CustomValueSetDef.BindVariable bindVar)
          Gets the reference segment a bind variable is bound to.
protected  void setReferenceSegment(CustomValueSetDef.BindVariable bindVar, SegmentDef seg)
          Sets the reference segment a bind variable is bound to.
 
Methods inherited from class oracle.apps.fnd.applcp.migrate.modeler.common.ValueSetUsage
getReferenceSegment, getValueSetDef, isNullAllowed, setNullAllowed, setReferenceSegment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomValueSetUsage

public CustomValueSetUsage(CustomValueSetDef cvsd,
                           boolean isNullAllowed)
Constructs a usage of a custom value set.

Parameters:
cvsd - the definition of a custom value set
isNullAllowed - true if null value is allowed
Method Detail

setReferenceSegment

protected void setReferenceSegment(CustomValueSetDef.BindVariable bindVar,
                                   SegmentDef seg)
Sets the reference segment a bind variable is bound to.

Parameters:
bindVar - the bind variable
seg - the reference segment the bind variable is bound to
Throws:
java.lang.IllegalArgumentException - if the given bind variable type is not SEGMENT or VALUESET
java.lang.NullPointerException - if the given bind variable is null

getReferenceSegment

public SegmentDef getReferenceSegment(CustomValueSetDef.BindVariable bindVar)
Gets the reference segment a bind variable is bound to.

Parameters:
bindVar - the bind variable
Returns:
the reference segment the bind variable is bound to; null if the bind variable is not bound to any segment
Throws:
java.lang.NullPointerException - if the given bind variable is null

Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.