com.pecasim.base
Enum MSGCODE

java.lang.Object
  extended by java.lang.Enum<MSGCODE>
      extended by com.pecasim.base.MSGCODE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MSGCODE>

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

Author:
cbu Liste alle möglichen Messagecodes auf

Enum Constant Summary
D200
           
D201
           
E100
           
E200
           
E201
           
E202
           
E203
           
E204
           
E205
           
E206
           
E207
           
E300
           
E301
           
E302
           
E303
           
E304
           
E305
           
E306
           
E400
           
E401
           
E500
           
E501
           
E502
           
E601
           
E602
           
E603
           
E604
           
I001
           
T000
           
T001
           
W100
           
W101
           
W200
           
W201
           
W202
           
W203
           
W204
           
W205
           
W206
           
W207
           
W208
           
W209
           
W210
           
W211
           
W212
           
W213
           
W214
           
 
Method Summary
 boolean isDebug()
          Prüft ob es sich um einen DebugCode handelt
 boolean isError()
          Prüft ob es sich um einen ErrorCode handelt
 boolean isInfo()
          Prüft ob es sich um einen InfoCode handelt
 boolean isWarn()
          Prüft ob es sich um einen WarnCode handelt
static MSGCODE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MSGCODE[] 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

T000

public static final MSGCODE T000

T001

public static final MSGCODE T001

E100

public static final MSGCODE E100

E200

public static final MSGCODE E200

E201

public static final MSGCODE E201

E202

public static final MSGCODE E202

E203

public static final MSGCODE E203

E204

public static final MSGCODE E204

E205

public static final MSGCODE E205

E206

public static final MSGCODE E206

E207

public static final MSGCODE E207

E300

public static final MSGCODE E300

E301

public static final MSGCODE E301

E302

public static final MSGCODE E302

E303

public static final MSGCODE E303

E304

public static final MSGCODE E304

E305

public static final MSGCODE E305

E306

public static final MSGCODE E306

E400

public static final MSGCODE E400

E401

public static final MSGCODE E401

E500

public static final MSGCODE E500

E501

public static final MSGCODE E501

E502

public static final MSGCODE E502

E601

public static final MSGCODE E601

E602

public static final MSGCODE E602

E603

public static final MSGCODE E603

E604

public static final MSGCODE E604

W100

public static final MSGCODE W100

W101

public static final MSGCODE W101

W200

public static final MSGCODE W200

W201

public static final MSGCODE W201

W202

public static final MSGCODE W202

W203

public static final MSGCODE W203

W204

public static final MSGCODE W204

W205

public static final MSGCODE W205

W206

public static final MSGCODE W206

W207

public static final MSGCODE W207

W208

public static final MSGCODE W208

W209

public static final MSGCODE W209

W210

public static final MSGCODE W210

W211

public static final MSGCODE W211

W212

public static final MSGCODE W212

W213

public static final MSGCODE W213

W214

public static final MSGCODE W214

D200

public static final MSGCODE D200

D201

public static final MSGCODE D201

I001

public static final MSGCODE I001
Method Detail

values

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

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

valueOf

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

isDebug

public boolean isDebug()
Prüft ob es sich um einen DebugCode handelt

Returns:
boolean

isError

public boolean isError()
Prüft ob es sich um einen ErrorCode handelt

Returns:
boolean

isWarn

public boolean isWarn()
Prüft ob es sich um einen WarnCode handelt

Returns:
boolean

isInfo

public boolean isInfo()
Prüft ob es sich um einen InfoCode handelt

Returns:
boolean