public enum DSCommand extends Enum<DSCommand>
DSRecord command.| Enum Constant and Description |
|---|
CREATE
The record to be created
|
DELETE
The record to be deleted.
|
NONE
No command.
|
OPERATION
The record is a header.
|
UPDATE
The record to be added or updated.
|
| Modifier and Type | Method and Description |
|---|---|
static DSCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DSCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DSCommand NONE
public static final DSCommand OPERATION
public static final DSCommand CREATE
public static final DSCommand UPDATE
public static final DSCommand DELETE
public static DSCommand[] values()
for (DSCommand c : DSCommand.values()) System.out.println(c);
public static DSCommand 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 nullCopyright © 2025 European Spallation Source. All rights reserved.