public enum PropositionType extends Enum<PropositionType> implements Coded
| Enum Constant and Description |
|---|
COMPOUND
use this flag with the static factory to get a
PropositionType Compound |
SIMPLE
use this flag with the static factory to get a
PropositionType Simple |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
VALID_TYPE_CODES
Set of valid type codes
|
| Modifier and Type | Method and Description |
|---|---|
static PropositionType |
fromCode(String code)
Create a PropositionType for the given code
|
String |
getCode()
Returns the operator code for this evaluation operator.
|
static PropositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropositionType COMPOUND
PropositionType Compoundpublic static final PropositionType SIMPLE
PropositionType Simplepublic static final Set<String> VALID_TYPE_CODES
public static PropositionType[] values()
for (PropositionType c : PropositionType.values()) System.out.println(c);
public static PropositionType 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 static PropositionType fromCode(String code)
code - to type the PropositionTypeIllegalArgumentException - if the given code does not existCopyright © 2005–2016 The Kuali Foundation. All rights reserved.