public enum SendDataRequestOptions extends Enum<SendDataRequestOptions>
SendDataRequestPacket.| Enum Constant and Description |
|---|
APPEND |
ARCHIVE |
OVERWRITE |
TRANSIENT |
| Modifier and Type | Method and Description |
|---|---|
static SendDataRequestOptions |
get(int id)
Retrieves the
SendDataRequestOptions for the given ID. |
int |
getID()
Retrieves the option ID.
|
String |
getName()
Retrieves the option name.
|
String |
toString() |
static SendDataRequestOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SendDataRequestOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendDataRequestOptions APPEND
public static final SendDataRequestOptions ARCHIVE
public static final SendDataRequestOptions OVERWRITE
public static final SendDataRequestOptions TRANSIENT
public static SendDataRequestOptions get(int id)
SendDataRequestOptions for the given ID.id - ID to retrieve.SendDataRequestOptions associated to the given ID.public int getID()
public String toString()
toString in class Enum<SendDataRequestOptions>public static SendDataRequestOptions 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 SendDataRequestOptions[] values()
for (SendDataRequestOptions c : SendDataRequestOptions.values()) System.out.println(c);
© Copyright 2014 - 2019 Digi International Inc. All rights reserved.