com.ibm.bpe.api

Class ErrorTypeEnum

  1. java.lang.Object
  2. extended bycom.ibm.bpe.api.ErrorTypeEnum
All implemented interfaces:
java.io.Serializable

  1. public final class ErrorTypeEnum
  2. extends java.lang.Object
  3. implements java.io.Serializable
This enumeration class defines symbolic constants for error types that are found during validation of objects created spontaneously (ad-hoc). Possible values are:
Since:
6.0.2
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. ErrorTypeEnum
ERROR
  1. static
  2. ErrorTypeEnum
INFO
  1. static
  2. ErrorTypeEnum
WARNING

Method Summary

Modifier and Type Method and Description
  1. static
  2. ErrorTypeEnum
newErrorTypeEnum(int errorType)
Factory method to create an ErrorTypeEnum object.
  1. java.lang.String
toString()
Returns a string representation of the ErrorTypeEnum object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
See Also:

INFO

  1. public static final ErrorTypeEnum INFO

WARNING

  1. public static final ErrorTypeEnum WARNING

ERROR

  1. public static final ErrorTypeEnum ERROR

Method Detail

newErrorTypeEnum

  1. public static ErrorTypeEnum newErrorTypeEnum( int errorType)
Factory method to create an ErrorTypeEnum object.
Parameters:
errorType - The int value of the ErrorTypeEnum: 0=INFO, 1=WARNING, 2=ERROR.
Returns:
ErrorTypeEnum - The ErrorTypeEnum object created.

toString

  1. public java.lang.String toString( )
Returns a string representation of the ErrorTypeEnum object.
Overrides:
toString in class java.lang.Object
Returns:
String - A string representation of the object.