public enum LogicalOperator extends Enum<LogicalOperator> implements Coded
| Enum Constant and Description | 
|---|
| ANDuse this flag with the static factory to get a  LogicalOperatorAND | 
| ORuse this flag with the static factory to get a  LogicalOperatorOR | 
| Modifier and Type | Field and Description | 
|---|---|
| static Collection<String> | OP_CODE_NAMESCollection | 
| static Collection<String> | OP_CODESCollection | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public static final LogicalOperator AND
LogicalOperator ANDpublic static final LogicalOperator OR
LogicalOperator ORpublic static final Collection<String> OP_CODES
public static final Collection<String> OP_CODE_NAMES
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 nameNullPointerException - if the argument is nullpublic String getCode()
Codedpublic static LogicalOperator fromCode(String code)
code - used to type LogicalOperatorIllegalArgumentException - if the code does not existpublic String toString()
toString in class Enum<LogicalOperator>Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.