public enum LeafObjectType extends Enum<LeafObjectType>
| Enum Constant and Description |
|---|
BIG_DECIMAL
Represents YANG decimal64 mapped to JAVA BigDecimal.
|
BIG_INTEGER
Represents YANG "uint64" mapped to JAVA "BigInteger".
|
BOOLEAN
Represents YANG "boolean", "empty" mapped to JAVA "boolean".
|
BYTE
Represents YANG "int8" mapped to JAVA "byte".
|
BYTE_ARRAY
Represents YANG "binary" mapped to JAVA "byte[]".
|
INT
Represents YANG "uint16", "int32" mapped to JAVA "int".
|
LONG
Represents YANG "uint32", "int64" mapped to JAVA "long".
|
SHORT
Represents YANG "int16", "uint8" mapped to JAVA "short".
|
STRING
Represents YANG "bits", "identityref", "enumeration", "string" mapped to
JAVA "String".
|
UNION
Represents YANG union, in JAVA it's mapped to a custom generated
class.
|
| Modifier and Type | Method and Description |
|---|---|
static LeafObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeafObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeafObjectType BYTE
public static final LeafObjectType SHORT
public static final LeafObjectType INT
public static final LeafObjectType LONG
public static final LeafObjectType BOOLEAN
public static final LeafObjectType STRING
public static final LeafObjectType BIG_INTEGER
public static final LeafObjectType BYTE_ARRAY
public static final LeafObjectType BIG_DECIMAL
public static final LeafObjectType UNION
public static LeafObjectType[] values()
for (LeafObjectType c : LeafObjectType.values()) System.out.println(c);
public static LeafObjectType 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 © 2018. All rights reserved.