public static enum AdsValue.Types extends Enum<AdsValue.Types>
| Enum Constant and Description |
|---|
BIT |
BYTE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
UBYTE |
UINT |
ULONG |
USHORT |
| Modifier and Type | Field and Description |
|---|---|
private char |
abbreviation |
private int |
code |
private AdsValue |
skeleton |
| Modifier and Type | Method and Description |
|---|---|
AdsValue |
getSkeleton() |
static AdsValue |
getSkeletonFromChar(char abb)
From a single-char abbreviation get the ads value type as an
AdsValue.
|
static AdsValue |
getSkeletonFromCode(int dec)
From the ADS-internal type code, see,
int_codes, we return the appropriate AdsValue Type.
|
static AdsValue.Types |
getTypeFromChar(char abb)
From a single-char abbreviation get the ads value type as an enum.
|
static AdsValue.Types |
getTypeFromCode(int dec)
From the ADS-internal type code, see,
int_codes, we return the appropriate AdsValue Type.
|
static AdsValue.Types |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdsValue.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdsValue.Types BIT
public static final AdsValue.Types BYTE
public static final AdsValue.Types SHORT
public static final AdsValue.Types INTEGER
public static final AdsValue.Types LONG
public static final AdsValue.Types FLOAT
public static final AdsValue.Types DOUBLE
public static final AdsValue.Types UBYTE
public static final AdsValue.Types USHORT
public static final AdsValue.Types UINT
public static final AdsValue.Types ULONG
private char abbreviation
private AdsValue skeleton
private int code
public static AdsValue.Types[] values()
for (AdsValue.Types c : AdsValue.Types.values()) System.out.println(c);
public static AdsValue.Types 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 AdsValue getSkeleton()
public static AdsValue.Types getTypeFromChar(char abb)
abb - public static AdsValue.Types getTypeFromCode(int dec)
abb - public static AdsValue getSkeletonFromCode(int dec)
abb - public static AdsValue getSkeletonFromChar(char abb)
abb -