com.ibm.bpe.clientmodel.bean

Class ProcessInstanceBean

  • java.lang.Object
    • com.ibm.bpe.clientmodel.bean.ProcessInstanceBean
  • All Implemented Interfaces:
    ProcessInstanceData, java.io.Serializable


    public class ProcessInstanceBean
    extends java.lang.Object
    implements ProcessInstanceData

    Accesses the properties of the original ProcessInstanceData object and adds metadata for national language support and converters.

    A ProcessInstanceBean object can be instantiated from either a QueryResultSet object or a ProcessInstanceData object.
    If the bean was instantiated from an original object returned by the Business Process Choreographer API, all properties are loaded. If, however the bean is instantiated from a query only the following properties are loaded from the query result set:

    • ID
    • completionTime
    • creationTime
    • description
    • name
    • parentProcessInstanceName
    • startTime
    • starter
    • executionState
    • processTemplateName
    • processTemplateDisplayName
    • topLevelProcessInstanceName
    If the property is not found in the query result set, the property remains empty. Accessing an empty property requires the bean to load the missing information from the server.

    Use the static method getLabel(String, Locale) to retrieve the localized label for a property. Use the static method getConverter(String) to retrieve a converter for a property. The return value might be null, as converters are optional.

    See Also:
    ProcessInstanceData, QueryResultSet, Serialized Form
IBM Business Process ManagerTM
Release 8