org.kuali.kfs.module.bc
Enum BCConstants.OrgSelControlOption

java.lang.Object
  extended by java.lang.Enum<BCConstants.OrgSelControlOption>
      extended by org.kuali.kfs.module.bc.BCConstants.OrgSelControlOption
All Implemented Interfaces:
Serializable, Comparable<BCConstants.OrgSelControlOption>
Enclosing class:
BCConstants

public static enum BCConstants.OrgSelControlOption
extends Enum<BCConstants.OrgSelControlOption>

This class represents Select control options mapping explicit Integer values to an enum value. The explicit values can then be used in a database stored procedure call in the event procedure calls are used instead of calls to a java method.


Enum Constant Summary
BOTH
           
LEVONE
           
LEVZERO
           
MGRLEV
           
NO
           
NOTSEL
           
ORG
           
ORGLEV
           
ORGMGRLEV
           
SUBORG
           
YES
           
 
Method Summary
 Integer getKey()
           
 String getLabel()
           
static BCConstants.OrgSelControlOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BCConstants.OrgSelControlOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO

public static final BCConstants.OrgSelControlOption NO

YES

public static final BCConstants.OrgSelControlOption YES

NOTSEL

public static final BCConstants.OrgSelControlOption NOTSEL

ORG

public static final BCConstants.OrgSelControlOption ORG

SUBORG

public static final BCConstants.OrgSelControlOption SUBORG

BOTH

public static final BCConstants.OrgSelControlOption BOTH

ORGLEV

public static final BCConstants.OrgSelControlOption ORGLEV

MGRLEV

public static final BCConstants.OrgSelControlOption MGRLEV

ORGMGRLEV

public static final BCConstants.OrgSelControlOption ORGMGRLEV

LEVONE

public static final BCConstants.OrgSelControlOption LEVONE

LEVZERO

public static final BCConstants.OrgSelControlOption LEVZERO
Method Detail

values

public static BCConstants.OrgSelControlOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BCConstants.OrgSelControlOption c : BCConstants.OrgSelControlOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BCConstants.OrgSelControlOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getLabel

public String getLabel()

getKey

public Integer getKey()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.