public enum CreateObjRes extends Enum<CreateObjRes>
| Enum Constant and Description |
|---|
FAILPARAMLOCKREQUIRED |
FAILPARAMREADONLY |
FAILUNKNOWNPARAM |
FAILVALUEOUTOFRANGE |
FAILVALUETYPEERROR |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static CreateObjRes |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static CreateObjRes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateObjRes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateObjRes SUCCESS
public static final CreateObjRes FAILUNKNOWNPARAM
public static final CreateObjRes FAILPARAMREADONLY
public static final CreateObjRes FAILPARAMLOCKREQUIRED
public static final CreateObjRes FAILVALUEOUTOFRANGE
public static final CreateObjRes FAILVALUETYPEERROR
public static CreateObjRes[] values()
for (CreateObjRes c : CreateObjRes.values()) System.out.println(c);
public static CreateObjRes 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 getName()
public int getIntValue()
public static CreateObjRes forValue(int valueArg)
valueArg - Copyright © 2016 OpenDaylight. All rights reserved.