ALBPM Process API

fuego.papi
Class Priority

java.lang.Object
  extended by fuego.papi.Priority
All Implemented Interfaces:
fuego.lang.EnumType

public class Priority
extends Object
implements fuego.lang.EnumType

Enumeration of instance priorities.

The Priority list defines the 5 types of priorities that the Instance can have while it flows through the process.
The priorities are:


Field Summary
static int HIGH
          High priority.
static int HIGHEST
          Highest priority.
static int LOW
          Low priority.
static int LOWEST
          Lowest priority.
static int NORMAL
          Normal priority.
 
Constructor Summary
Priority()
           
 
Method Summary
static String getDescription(int type, Locale locale)
          Gets the localize description of the specified priority.
static int valueOf(String id)
          Returns the priority for the specified priority Id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOWEST

public static final int LOWEST
Lowest priority.

See Also:
Constant Field Values

LOW

public static final int LOW
Low priority.

See Also:
Constant Field Values

NORMAL

public static final int NORMAL
Normal priority.

See Also:
Constant Field Values

HIGH

public static final int HIGH
High priority.

See Also:
Constant Field Values

HIGHEST

public static final int HIGHEST
Highest priority.

See Also:
Constant Field Values
Constructor Detail

Priority

public Priority()
Method Detail

getDescription

public static String getDescription(int type,
                                    Locale locale)
Gets the localize description of the specified priority.

Parameters:
type - priority to obtain which description.
locale - the desired locale.
Returns:
localized description of the given priority.

valueOf

public static int valueOf(String id)
Returns the priority for the specified priority Id.

Parameters:
id - priority Id to check.
Returns:
priority

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved