public enum Id extends Enum<Id> implements Key
Enum Constant and Description |
---|
CHARBA_ID
Name of java script property
|
Modifier and Type | Method and Description |
---|---|
static String |
get(NativeObject nativeObject)
Returns the property value from java script object.
|
static String |
get(NativeObjectContainer nativeObjectContainer)
Returns the property value from java script object.
|
String |
value()
Returns the name value of property
|
static Id |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Id[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Id CHARBA_ID
public static Id[] values()
for (Id c : Id.values()) System.out.println(c);
public static Id 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 String value()
Key
public static String get(NativeObjectContainer nativeObjectContainer)
nativeObjectContainer
- java script object containerUndefined.STRING
if not existpublic static String get(NativeObject nativeObject)
nativeObject
- java script objectUndefined.STRING
if not exist