Skip navigation links
oracle.rules.sdk2.dictionary
Enum Choice.Kind
java.lang.Object
java.lang.Enum<Choice.Kind>
oracle.rules.sdk2.dictionary.Choice.Kind
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Choice.Kind>
- Enclosing interface:
- Choice
-
public static enum Choice.Kind
- extends java.lang.Enum<Choice.Kind>
enumerate the kinds of choice
Method Summary |
static Choice.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Choice.Kind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
literal
public static final Choice.Kind literal
type
public static final Choice.Kind type
variable
public static final Choice.Kind variable
function
public static final Choice.Kind function
method
public static final Choice.Kind method
property
public static final Choice.Kind property
field
public static final Choice.Kind field
constructor
public static final Choice.Kind constructor
dictionary
public static final Choice.Kind dictionary
folder
public static final Choice.Kind folder
bucketset
public static final Choice.Kind bucketset
bucket
public static final Choice.Kind bucket
factPath
public static final Choice.Kind factPath
values
public static Choice.Kind[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Choice.Kind c : Choice.Kind.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static Choice.Kind valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
Skip navigation links
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.