org.openptk.api
Enum Opcode
java.lang.Object
java.lang.Enum<Opcode>
org.openptk.api.Opcode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Opcode>
public enum Opcode
- extends java.lang.Enum<Opcode>
Supported operation codes:
CREATE: | Create a new Entry |
READ: | Return a single Entry |
UPDATE: | Update a single Entry |
DELETE: | Delete a single Entry |
SEARCH: | Search for and return multiple Entries |
PWDCHANGE: | Change an Entry's password, with provided value |
PWDRESET | Change an Entry's password, system generated |
PWDFORGOT: | Forgotten password questions/answers process |
Used at all Tiers in the Project.
Method Summary |
static Opcode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Opcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CREATE
public static final Opcode CREATE
DELETE
public static final Opcode DELETE
PWDCHANGE
public static final Opcode PWDCHANGE
PWDFORGOT
public static final Opcode PWDFORGOT
PWDRESET
public static final Opcode PWDRESET
READ
public static final Opcode READ
SEARCH
public static final Opcode SEARCH
UPDATE
public static final Opcode UPDATE
valueOf
public static Opcode 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
values
public static Opcode[] 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 (Opcode c : Opcode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
View/submit a bug or feature
For further API reference and developer documentation, see www.openptk.org.
That documentation contains more detailed, developer-targeted descriptions,
definitions of terms, workarounds, and working code examples.
Copyright (C) 2008-2012, Project OpenPTK. All Rights Reserved