com.edustructures.sifworks
Enum SIFErrorCategory

java.lang.Object
  extended by java.lang.Enum<SIFErrorCategory>
      extended by com.edustructures.sifworks.SIFErrorCategory
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SIFErrorCategory>

public enum SIFErrorCategory
extends java.lang.Enum<SIFErrorCategory>

The list of codes defined by SIF for SIF_Category element in SIF_Error


Enum Constant Summary
ACCESS_PERMISSIONS
          Access and Permissions (4)
AUTHENTICATION
          Authentication (3)
ENCRYPTION
          Encryption (2)
EVENTS
          Reporting and Processing events (9)
GENERIC
          Generic Message Handling (12)
PROVISION
          Agent Provisioning (6)
REGISTRATION
          Agent Registration (5)
REQUEST_RESPONSE
          Request and Response (8)
SUBSCRIPTION
          Subscription (7)
SYSTEM
          System (OS, Database, Vendor localized, etc.) (11)
TRANSPORT
          Transport (10)
UNKNOWN
          Unknown (This SHOULD NOT be used, if possible) (0)
XML_VALIDATION
          XML Validation (1)
 
Method Summary
 int getValue()
          The integer value of the code
static SIFErrorCategory lookup(java.lang.Integer value)
          Returns a SIFErrorCategory enum value for the given int value
static SIFErrorCategory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SIFErrorCategory[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final SIFErrorCategory UNKNOWN
Unknown (This SHOULD NOT be used, if possible) (0)


XML_VALIDATION

public static final SIFErrorCategory XML_VALIDATION
XML Validation (1)


ENCRYPTION

public static final SIFErrorCategory ENCRYPTION
Encryption (2)


AUTHENTICATION

public static final SIFErrorCategory AUTHENTICATION
Authentication (3)


ACCESS_PERMISSIONS

public static final SIFErrorCategory ACCESS_PERMISSIONS
Access and Permissions (4)


REGISTRATION

public static final SIFErrorCategory REGISTRATION
Agent Registration (5)


PROVISION

public static final SIFErrorCategory PROVISION
Agent Provisioning (6)


SUBSCRIPTION

public static final SIFErrorCategory SUBSCRIPTION
Subscription (7)


REQUEST_RESPONSE

public static final SIFErrorCategory REQUEST_RESPONSE
Request and Response (8)


EVENTS

public static final SIFErrorCategory EVENTS
Reporting and Processing events (9)


TRANSPORT

public static final SIFErrorCategory TRANSPORT
Transport (10)


SYSTEM

public static final SIFErrorCategory SYSTEM
System (OS, Database, Vendor localized, etc.) (11)


GENERIC

public static final SIFErrorCategory GENERIC
Generic Message Handling (12)

Method Detail

values

public static final SIFErrorCategory[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SIFErrorCategory c : SIFErrorCategory.values())
        System.out.println(c);

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

valueOf

public static SIFErrorCategory 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

getValue

public int getValue()
The integer value of the code

Returns:
An integer value (e.g. 2 )

lookup

public static SIFErrorCategory lookup(java.lang.Integer value)
Returns a SIFErrorCategory enum value for the given int value

Parameters:
value - The int value to use for searching the enum class
Returns:
The appropriate matching SIFErrorCategory instance or SIFErrorCategory.UNKNOWN


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.