public enum LogicalOperator extends Enum<LogicalOperator> implements Coded
Enum Constant and Description |
---|
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 |
Modifier and Type | Field and Description |
---|---|
static Collection<String> |
OP_CODE_NAMES
Collection
|
static Collection<String> |
OP_CODES
Collection
|
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()
Coded
public 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–2014 The Kuali Foundation. All rights reserved.