org.netbeans.modules.bpel.model.api.support
Enum Pattern

java.lang.Object
  extended by java.lang.Enum<Pattern>
      extended by org.netbeans.modules.bpel.model.api.support.Pattern
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Pattern>, EnumValue

public enum Pattern
extends java.lang.Enum<Pattern>
implements EnumValue

Author:
ads

Enum Constant Summary
INVALID
           
NOT_SPECIFIED
           
REQUEST
           
REQUEST_RESPONSE
           
RESPONSE
           
 
Method Summary
static Pattern forString(java.lang.String str)
          Returns enumeration via its string representation.
 boolean isInvalid()
          
static boolean isRequestApplicable(Pattern pattern)
           
static boolean isResponseApplicable(Pattern pattern)
           
 java.lang.String toString()
          
static Pattern valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Pattern[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUEST

public static final Pattern REQUEST

RESPONSE

public static final Pattern RESPONSE

REQUEST_RESPONSE

public static final Pattern REQUEST_RESPONSE

NOT_SPECIFIED

public static final Pattern NOT_SPECIFIED

INVALID

public static final Pattern INVALID
Method Detail

values

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

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

valueOf

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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<Pattern>

isInvalid

public boolean isInvalid()

Specified by:
isInvalid in interface EnumValue
Returns:
Is valid or not this enumeration object.

forString

public static Pattern forString(java.lang.String str)
Returns enumeration via its string representation.

Parameters:
str - string that represent enumeration.
Returns:
enumeration.

isRequestApplicable

public static boolean isRequestApplicable(Pattern pattern)

isResponseApplicable

public static boolean isResponseApplicable(Pattern pattern)