org.eclipse.stardust.engine.api.dto
Class ProcessInstanceDetailsLevel

java.lang.Object
  extended by org.eclipse.stardust.common.IntKey
      extended by org.eclipse.stardust.engine.api.dto.ProcessInstanceDetailsLevel
All Implemented Interfaces:
Serializable, Comparable

public class ProcessInstanceDetailsLevel
extends org.eclipse.stardust.common.IntKey

Represents the level of detail for a ProcessInstance.

Author:
born
See Also:
Serialized Form

Field Summary
static ProcessInstanceDetailsLevel Core
           
static int CORE
          The process instance details only contain first level attributes of ProcessInstanceBean.
static ProcessInstanceDetailsLevel Default
           
static int DEFAULT
          Alias for default details level.
static ProcessInstanceDetailsLevel Full
           
static int FULL
          The process instance details are fully initialized.
static String PRP_PI_DETAILS_LEVEL
           
static int WITH_PROPERTIES
          The process instance details contain same attributes as with CORE plus all extended attributes.
static int WITH_RESOLVED_PROPERTIES
          The process instance details contain same attributes as with WITH_PROPERTIES plus all extended attributes are resolved, i.e.
static ProcessInstanceDetailsLevel WithProperties
           
static ProcessInstanceDetailsLevel WithResolvedProperties
           
 
Method Summary
static ProcessInstanceDetailsLevel getlevel(int value)
          Factory method to get the ProcessInstanceState corresponding to the given code.
 
Methods inherited from class org.eclipse.stardust.common.IntKey
compareTo, equals, getKey, getKeys, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CORE

public static final int CORE
The process instance details only contain first level attributes of ProcessInstanceBean.

See Also:
Constant Field Values

WITH_PROPERTIES

public static final int WITH_PROPERTIES
The process instance details contain same attributes as with CORE plus all extended attributes.

See Also:
Constant Field Values

WITH_RESOLVED_PROPERTIES

public static final int WITH_RESOLVED_PROPERTIES
The process instance details contain same attributes as with WITH_PROPERTIES plus all extended attributes are resolved, i.e. contain further detail objects.

See Also:
Constant Field Values

FULL

public static final int FULL
The process instance details are fully initialized.

See Also:
Constant Field Values

DEFAULT

public static final int DEFAULT
Alias for default details level.

See Also:
Constant Field Values

Core

public static final ProcessInstanceDetailsLevel Core

WithProperties

public static final ProcessInstanceDetailsLevel WithProperties

WithResolvedProperties

public static final ProcessInstanceDetailsLevel WithResolvedProperties

Full

public static final ProcessInstanceDetailsLevel Full

Default

public static final ProcessInstanceDetailsLevel Default

PRP_PI_DETAILS_LEVEL

public static final String PRP_PI_DETAILS_LEVEL
See Also:
Constant Field Values
Method Detail

getlevel

public static ProcessInstanceDetailsLevel getlevel(int value)
Factory method to get the ProcessInstanceState corresponding to the given code.

Parameters:
value - one of the ProcessInstanceState codes.
Returns:
one of the predefined ProcessInstanceStates or null if it's an invalid code.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.