Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.bea.wcp.diameter.management.descriptor.validator
Enum ValidationError

java.lang.Object
  extended by java.lang.Enum<ValidationError>
      extended by com.bea.wcp.diameter.management.descriptor.validator.ValidationError

All Implemented Interfaces:
Serializable, Comparable<ValidationError>

public enum ValidationError
extends Enum<ValidationError>

Validation error types for console support.


Enum Constant Summary
DUPLICATE_ROUTE
           
MISSING_DEFAULT_ROUTE_SERVERS
           
MISSING_ROUTE_SERVERS
           
UNKNOWN_DEFAULT_ROUTE_SERVER
           
UNKNOWN_ROUTE_SERVER
           
UNKNOWN_TARGET
           

 

Method Summary
 String getFormat()
           
 String getMessage(Object[] args)
           
static ValidationError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValidationError[] 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

DUPLICATE_ROUTE

public static final ValidationError DUPLICATE_ROUTE

MISSING_ROUTE_SERVERS

public static final ValidationError MISSING_ROUTE_SERVERS

UNKNOWN_ROUTE_SERVER

public static final ValidationError UNKNOWN_ROUTE_SERVER

UNKNOWN_TARGET

public static final ValidationError UNKNOWN_TARGET

MISSING_DEFAULT_ROUTE_SERVERS

public static final ValidationError MISSING_DEFAULT_ROUTE_SERVERS

UNKNOWN_DEFAULT_ROUTE_SERVER

public static final ValidationError UNKNOWN_DEFAULT_ROUTE_SERVER

Method Detail

values

public static ValidationError[] 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 (ValidationError c : ValidationError.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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

getFormat

public String getFormat()

getMessage

public String getMessage(Object[] args)

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.