com.rapidtransform.spec.model
Enum Configuration.ConfigurationType

java.lang.Object
  extended by java.lang.Enum<Configuration.ConfigurationType>
      extended by com.rapidtransform.spec.model.Configuration.ConfigurationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Configuration.ConfigurationType>
Enclosing class:
Configuration

public static enum Configuration.ConfigurationType
extends java.lang.Enum<Configuration.ConfigurationType>

Specifies the valid usage of a configuration on a

Author:
S. Werner

Enum Constant Summary
DESIGN
          The configed element object must be designed or verified before used in the given context specified by the solutionFor attribute.
USAGE
          The condition or spec specifies a use case for the solutionFor object and the configured element has the given Configuration.
 
Method Summary
static Configuration.ConfigurationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Configuration.ConfigurationType[] 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

DESIGN

public static final Configuration.ConfigurationType DESIGN
The configed element object must be designed or verified before used in the given context specified by the solutionFor attribute.


USAGE

public static final Configuration.ConfigurationType USAGE
The condition or spec specifies a use case for the solutionFor object and the configured element has the given Configuration.

Method Detail

values

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

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

valueOf

public static Configuration.ConfigurationType 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