Package org.onosproject.netconf.rpc
Enum ErrorTag
- java.lang.Object
-
- java.lang.Enum<ErrorTag>
-
- org.onosproject.netconf.rpc.ErrorTag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ErrorTag>
public enum ErrorTag extends java.lang.Enum<ErrorTag>
Java class for ErrorTag.The following schema fragment specifies the expected content contained within this class.
<simpleType name="ErrorTag"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="in-use"/> <enumeration value="invalid-value"/> <enumeration value="too-big"/> <enumeration value="missing-attribute"/> <enumeration value="bad-attribute"/> <enumeration value="unknown-attribute"/> <enumeration value="missing-element"/> <enumeration value="bad-element"/> <enumeration value="unknown-element"/> <enumeration value="unknown-namespace"/> <enumeration value="access-denied"/> <enumeration value="lock-denied"/> <enumeration value="resource-denied"/> <enumeration value="rollback-failed"/> <enumeration value="data-exists"/> <enumeration value="data-missing"/> <enumeration value="operation-not-supported"/> <enumeration value="operation-failed"/> <enumeration value="partial-operation"/> <enumeration value="malformed-message"/> </restriction> </simpleType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorTagfromValue(java.lang.String v)java.lang.Stringvalue()static ErrorTagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ErrorTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_USE
public static final ErrorTag IN_USE
-
INVALID_VALUE
public static final ErrorTag INVALID_VALUE
-
TOO_BIG
public static final ErrorTag TOO_BIG
-
MISSING_ATTRIBUTE
public static final ErrorTag MISSING_ATTRIBUTE
-
BAD_ATTRIBUTE
public static final ErrorTag BAD_ATTRIBUTE
-
UNKNOWN_ATTRIBUTE
public static final ErrorTag UNKNOWN_ATTRIBUTE
-
MISSING_ELEMENT
public static final ErrorTag MISSING_ELEMENT
-
BAD_ELEMENT
public static final ErrorTag BAD_ELEMENT
-
UNKNOWN_ELEMENT
public static final ErrorTag UNKNOWN_ELEMENT
-
UNKNOWN_NAMESPACE
public static final ErrorTag UNKNOWN_NAMESPACE
-
ACCESS_DENIED
public static final ErrorTag ACCESS_DENIED
-
LOCK_DENIED
public static final ErrorTag LOCK_DENIED
-
RESOURCE_DENIED
public static final ErrorTag RESOURCE_DENIED
-
ROLLBACK_FAILED
public static final ErrorTag ROLLBACK_FAILED
-
DATA_EXISTS
public static final ErrorTag DATA_EXISTS
-
DATA_MISSING
public static final ErrorTag DATA_MISSING
-
OPERATION_NOT_SUPPORTED
public static final ErrorTag OPERATION_NOT_SUPPORTED
-
OPERATION_FAILED
public static final ErrorTag OPERATION_FAILED
-
PARTIAL_OPERATION
public static final ErrorTag PARTIAL_OPERATION
-
MALFORMED_MESSAGE
public static final ErrorTag MALFORMED_MESSAGE
-
-
Method Detail
-
values
public static ErrorTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorTag c : ErrorTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorTag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static ErrorTag fromValue(java.lang.String v)
-
-