|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LogicalOperator> org.kuali.rice.krms.api.repository.LogicalOperator
public enum LogicalOperator
Enum for the representation of the Logical Operators AND OR
Enum Constant Summary | |
---|---|
AND
use this flag with the static factory to get a LogicalOperator AND |
|
OR
use this flag with the static factory to get a LogicalOperator OR |
Field Summary | |
---|---|
static Collection<String> |
OP_CODE_NAMES
Collection |
static Collection<String> |
OP_CODES
Collection |
Method Summary | |
---|---|
static LogicalOperator |
fromCode(String code)
Create a LogicalOperator from the given code |
String |
getCode()
The code value for this object. |
String |
toString()
|
static LogicalOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LogicalOperator[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LogicalOperator AND
LogicalOperator
AND
public static final LogicalOperator OR
LogicalOperator
OR
Field Detail |
---|
public static final Collection<String> OP_CODES
public static final Collection<String> OP_CODE_NAMES
Method Detail |
---|
public static LogicalOperator[] values()
for (LogicalOperator c : LogicalOperator.values()) System.out.println(c);
public static LogicalOperator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getCode()
Coded
getCode
in interface Coded
public static LogicalOperator fromCode(String code)
code
- used to type LogicalOperator
IllegalArgumentException
- if the code does not existpublic String toString()
toString
in class Enum<LogicalOperator>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |