edu.nrao.sss.model.parameter
Enum ParameterValidation.ErrorType

java.lang.Object
  extended by java.lang.Enum<ParameterValidation.ErrorType>
      extended by edu.nrao.sss.model.parameter.ParameterValidation.ErrorType
All Implemented Interfaces:
Serializable, Comparable<ParameterValidation.ErrorType>
Enclosing class:
ParameterValidation

protected static enum ParameterValidation.ErrorType
extends Enum<ParameterValidation.ErrorType>


Enum Constant Summary
BADDECINTVALUE
           
BADFLOATVALUE
           
BADOCTINTVALUE
           
BADPADNAMEVALUE
           
BANDREQUIRED
           
EMPTYEFFECTIVEDATE
           
EMPTYENTITY
           
EMPTYMODIFIEDBY
           
EMPTYPARAMETERNAME
           
EMPTYVALUE
           
EMPTYVERSION
           
UNKNOWNBAND
           
UNKNOWNENTITY
           
UNKNOWNPARAMETERNAME
           
 
Method Summary
 String getDebugMessage()
           
 String getDisplayMessage()
           
static ParameterValidation.ErrorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParameterValidation.ErrorType[] 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

BADDECINTVALUE

public static final ParameterValidation.ErrorType BADDECINTVALUE

BADFLOATVALUE

public static final ParameterValidation.ErrorType BADFLOATVALUE

BADOCTINTVALUE

public static final ParameterValidation.ErrorType BADOCTINTVALUE

BADPADNAMEVALUE

public static final ParameterValidation.ErrorType BADPADNAMEVALUE

EMPTYEFFECTIVEDATE

public static final ParameterValidation.ErrorType EMPTYEFFECTIVEDATE

EMPTYENTITY

public static final ParameterValidation.ErrorType EMPTYENTITY

EMPTYMODIFIEDBY

public static final ParameterValidation.ErrorType EMPTYMODIFIEDBY

EMPTYPARAMETERNAME

public static final ParameterValidation.ErrorType EMPTYPARAMETERNAME

EMPTYVALUE

public static final ParameterValidation.ErrorType EMPTYVALUE

EMPTYVERSION

public static final ParameterValidation.ErrorType EMPTYVERSION

UNKNOWNBAND

public static final ParameterValidation.ErrorType UNKNOWNBAND

BANDREQUIRED

public static final ParameterValidation.ErrorType BANDREQUIRED

UNKNOWNENTITY

public static final ParameterValidation.ErrorType UNKNOWNENTITY

UNKNOWNPARAMETERNAME

public static final ParameterValidation.ErrorType UNKNOWNPARAMETERNAME
Method Detail

values

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

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

valueOf

public static ParameterValidation.ErrorType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDebugMessage

public String getDebugMessage()

getDisplayMessage

public String getDisplayMessage()


Copyright © 2009. All Rights Reserved.