com.vhosting.netconf.frame
Enum RpcReplyErrorInfo.ErrorElement

java.lang.Object
  extended by java.lang.Enum<RpcReplyErrorInfo.ErrorElement>
      extended by com.vhosting.netconf.frame.RpcReplyErrorInfo.ErrorElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RpcReplyErrorInfo.ErrorElement>
Enclosing interface:
RpcReplyErrorInfo

public static enum RpcReplyErrorInfo.ErrorElement
extends java.lang.Enum<RpcReplyErrorInfo.ErrorElement>

This enumeration represents all the elements of which it is possible to have more information.

Author:
Giuseppe Palmeri

Enum Constant Summary
bad_attribute
          Name of the unexpected attribute.
bad_element
          Name of the element that contains the bad element.
bad_namespace
          Name of the unexpected namespace.
err_element
          Identifies an element in the data model for which the requested operation has failed for that node and all its child nodes.
noop_element
          Identifies an element in the data model for which the requested operation was not attempted for that node and all its child nodes.
ok_element
          Identifies an element in the data model for which the requested operation has been completed for that node and all its child nodes.
session_id
          Session ID of session holding the requested lock, or zero to indicate a non-NETCONF entity holds the lock.
 
Method Summary
static RpcReplyErrorInfo.ErrorElement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RpcReplyErrorInfo.ErrorElement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

bad_attribute

public static final RpcReplyErrorInfo.ErrorElement bad_attribute
Name of the unexpected attribute.


bad_element

public static final RpcReplyErrorInfo.ErrorElement bad_element
Name of the element that contains the bad element.


bad_namespace

public static final RpcReplyErrorInfo.ErrorElement bad_namespace
Name of the unexpected namespace.


session_id

public static final RpcReplyErrorInfo.ErrorElement session_id
Session ID of session holding the requested lock, or zero to indicate a non-NETCONF entity holds the lock.


ok_element

public static final RpcReplyErrorInfo.ErrorElement ok_element
Identifies an element in the data model for which the requested operation has been completed for that node and all its child nodes.


err_element

public static final RpcReplyErrorInfo.ErrorElement err_element
Identifies an element in the data model for which the requested operation has failed for that node and all its child nodes.


noop_element

public static final RpcReplyErrorInfo.ErrorElement noop_element
Identifies an element in the data model for which the requested operation was not attempted for that node and all its child nodes.

Method Detail

values

public static RpcReplyErrorInfo.ErrorElement[] 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 (RpcReplyErrorInfo.ErrorElement c : RpcReplyErrorInfo.ErrorElement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RpcReplyErrorInfo.ErrorElement 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 name
java.lang.NullPointerException - if the argument is null