public enum PropositionParameterType extends Enum<PropositionParameterType> implements Coded
| Enum Constant and Description |
|---|
CONSTANT
use this flag with the static factory to get a
PropositionParameterType Constant |
FUNCTION
use this flag with the static factory to get a
PropositionParameterType Function |
OPERATOR
use this flag with the static factory to get a
PropositionParameterType Operator |
TERM
use this flag with the static factory to get a
PropositionParameterType Term |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
VALID_TYPE_CODES
Set of valid type codes
|
| Modifier and Type | Method and Description |
|---|---|
static PropositionParameterType |
fromCode(String code)
Create a PropositionParameterType from the given code
|
String |
getCode() |
static PropositionParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropositionParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropositionParameterType CONSTANT
PropositionParameterType Constantpublic static final PropositionParameterType TERM
PropositionParameterType Termpublic static final PropositionParameterType FUNCTION
PropositionParameterType Functionpublic static final PropositionParameterType OPERATOR
PropositionParameterType Operatorpublic static final Set<String> VALID_TYPE_CODES
public static PropositionParameterType[] values()
for (PropositionParameterType c : PropositionParameterType.values()) System.out.println(c);
public static PropositionParameterType 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 PropositionParameterType fromCode(String code)
code - to type the PropositionParameterIllegalArgumentException - if the type code does not existCopyright © 2005–2016 The Kuali Foundation. All rights reserved.