org.obe.xpdl.model.activity
Class AutomationMode

java.lang.Object
  extended byorg.obe.util.AbstractEnum
      extended byorg.obe.xpdl.model.activity.AutomationMode
All Implemented Interfaces:
java.lang.Comparable, Enum, java.io.Serializable

public final class AutomationMode
extends AbstractEnum

Represents how an activity should start or end. There are two modes: AUTOMATIC (the default mode) will result in the automatic start or finish of an activity when the activity is executed; MANUAL requires some sort of manual intervention to start the activity.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
static AutomationMode AUTOMATIC
          AutomationMode representing an automatic start or completion.
static int AUTOMATIC_INT
           
static AutomationMode MANUAL
          AutomationMode representing a manual start or completion.
static int MANUAL_INT
           
static java.util.List VALUES
           
 
Fields inherited from class org.obe.util.AbstractEnum
name, ordinal
 
Method Summary
 java.util.List family()
          Returns an immutable list of the members of the enumerated type.
static AutomationMode valueOf(java.lang.String tag)
          Converts the specified String to an AutomationMode object.
 
Methods inherited from class org.obe.util.AbstractEnum
clinit, clone, compareTo, equals, hashCode, readResolve, toString, value
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTOMATIC_INT

public static final int AUTOMATIC_INT
See Also:
Constant Field Values

MANUAL_INT

public static final int MANUAL_INT
See Also:
Constant Field Values

AUTOMATIC

public static final AutomationMode AUTOMATIC
AutomationMode representing an automatic start or completion.


MANUAL

public static final AutomationMode MANUAL
AutomationMode representing a manual start or completion.


VALUES

public static final java.util.List VALUES
Method Detail

valueOf

public static AutomationMode valueOf(java.lang.String tag)
Converts the specified String to an AutomationMode object. If there is no matching AutomationMode for the given string then this method returns null.

Parameters:
tag - The string
Returns:
The AutomationMode object

family

public java.util.List family()
Description copied from interface: Enum
Returns an immutable list of the members of the enumerated type.

Returns:
The family of allowed values.


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.