com.yworks.yfiles.bpmn.view
Class BpmnTypeEnum

java.lang.Object
  extended bycom.yworks.yfiles.bpmn.view.BpmnTypeEnum

public class BpmnTypeEnum
extends Object

Type-safe enumeration for BPMN node and edge types.

 

Field Summary
static BpmnTypeEnum ACTIVITY_TYPE
          Type constant for a generic stateless activity.
static BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_AD_HOC
          Type constant for a stateless ad hoc activity.
static BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_LOOP
          Type constant for a stateless loop activity.
static BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_MULTIPLE
          Type constant for a stateless parallel activity.
static BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_PLAIN
          Type constant for a stateless plain activity.
static BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_AD_HOC
          Type constant for an ad hoc sub-process activity.
static BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_LOOP
          Type constant for a loop sub-process activity.
static BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_MULTIPLE
          Type constant for a parallel sub-process activity.
static BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_PLAIN
          Type constant for a plain sub-process activity.
static BpmnTypeEnum ACTIVITY_TYPE_TASK_AD_HOC
          Type constant for an ad hoc task activity.
static BpmnTypeEnum ACTIVITY_TYPE_TASK_LOOP
          Type constant for a loop task activity.
static BpmnTypeEnum ACTIVITY_TYPE_TASK_MULTIPLE
          Type constant for a parallel task activity.
static BpmnTypeEnum ACTIVITY_TYPE_TASK_PLAIN
          Type constant for a plain task activity.
static BpmnTypeEnum ARTIFACT_TYPE_ANNOTATION
          Type constant for an annotation.
static BpmnTypeEnum ARTIFACT_TYPE_DATA_OBJECT
          Type constant for a data object.
static BpmnTypeEnum ARTIFACT_TYPE_DATA_STORE
          Type constant for a data store.
static BpmnTypeEnum ARTIFACT_TYPE_GROUP
          Type constant for a group.
static BpmnTypeEnum ARTIFACT_TYPE_REPLY_MESSAGE
          Type constant for a reply message.
static BpmnTypeEnum ARTIFACT_TYPE_REQUEST_MESSAGE
          Type constant for a request message.
static BpmnTypeEnum CHOREOGRAPHY_TYPE
          Type constant for a BPMN choreography.
static BpmnTypeEnum CONNECTION_TYPE_ASSOCIATION
          Type constant for an association.
static BpmnTypeEnum CONNECTION_TYPE_BIDIRECTED_ASSOCIATION
          Type constant for a bidirectional association.
static BpmnTypeEnum CONNECTION_TYPE_CONDITIONAL_FLOW
          Type constant for a conditional flow.
static BpmnTypeEnum CONNECTION_TYPE_CONVERSATION_LINK
          Type constant for a conversation link.
static BpmnTypeEnum CONNECTION_TYPE_DEFAULT_FLOW
          Type constant for a default flow.
static BpmnTypeEnum CONNECTION_TYPE_DIRECTED_ASSOCIATION
          Type constant for an unidirected association.
static BpmnTypeEnum CONNECTION_TYPE_FORKED_CONVERSATION_LINK
          Type constant for a forked conversation link.
static BpmnTypeEnum CONNECTION_TYPE_MESSAGE_FLOW
          Type constant for a message flow.
static BpmnTypeEnum CONNECTION_TYPE_SEQUENCE_FLOW
          Type constant for a sequence flow.
static BpmnTypeEnum CONVERSATION_TYPE
          Type constant for a BPMN conversation.
static BpmnTypeEnum EVENT_TYPE_CANCEL
          Type constant for a cancel event.
static BpmnTypeEnum EVENT_TYPE_COMPENSATION
          Type constant for a compensation event.
static BpmnTypeEnum EVENT_TYPE_CONDITIONAL
          Type constant for a conditional event.
static BpmnTypeEnum EVENT_TYPE_ERROR
          Type constant for an error event.
static BpmnTypeEnum EVENT_TYPE_ESCALATION
          Type constant for an escalation event.
static BpmnTypeEnum EVENT_TYPE_LINK
          Type constant for a link event.
static BpmnTypeEnum EVENT_TYPE_MESSAGE
          Type constant for a message event.
static BpmnTypeEnum EVENT_TYPE_MULTIPLE
          Type constant for multiple events.
static BpmnTypeEnum EVENT_TYPE_PARALLEL_MULTIPLE
          Type constant for parallel multiple events.
static BpmnTypeEnum EVENT_TYPE_PLAIN
          Type constant for a plain event.
static BpmnTypeEnum EVENT_TYPE_SIGNAL
          Type constant for a signal event.
static BpmnTypeEnum EVENT_TYPE_TERMINATE
          Type constant for a termination event.
static BpmnTypeEnum EVENT_TYPE_TIMER
          Type constant for a timer event.
static BpmnTypeEnum GATEWAY_TYPE_COMPLEX
          Type constant for a complex gateway.
static BpmnTypeEnum GATEWAY_TYPE_DATA_BASED_EXCLUSIVE
          Type constant for a marked exclusive gateway.
static BpmnTypeEnum GATEWAY_TYPE_EVENT_BASED_EXCLUSIVE
          Type constant for an event-based gateway.
static BpmnTypeEnum GATEWAY_TYPE_EVENT_BASED_EXCLUSIVE_START_PROCESS
          Type constant for an event-based gateway to start a process.
static BpmnTypeEnum GATEWAY_TYPE_INCLUSIVE
          Type constant for an inclusive gateway.
static BpmnTypeEnum GATEWAY_TYPE_PARALLEL
          Type constant for a parallel gateway.
static BpmnTypeEnum GATEWAY_TYPE_PARALLEL_EVENT_BASED_EXCLUSIVE_START_PROCESS
          Type constant for a parallel event-based gateway.
static BpmnTypeEnum GATEWAY_TYPE_PLAIN
          Type constant for a plain exclusive gateway.
static BpmnTypeEnum POOL_TYPE_COLUMN
          Type constant for a column based pool.
static BpmnTypeEnum POOL_TYPE_EMPTY
          Type constant for an empty pool.
static BpmnTypeEnum POOL_TYPE_LANE
          Type constant for a row based pool.
static BpmnTypeEnum POOL_TYPE_LANE_AND_COLUMN
          Type constant for a matrix style pool.
 
Method Summary
static List getActivityGroupNodeTypes()
          Returns an unmodifiable list of all BPMN activity group node types.
static List getActivityTypes()
          Returns an unmodifiable list of all BPMN activity types.
static List getArtifactTypes()
          Returns an unmodifiable list of all BPMN artifact types.
static List getAssociationTypes()
          Returns an unmodifiable list of all BPMN association types.
static BpmnTypeEnum getByName(String name)
          Retrieves the BPMN type constant that corresponds to the specified type name.
static List getChoreographyTypes()
          Returns an unmodifiable list of all BPMN choreography types.
static List getConnectionTypes()
          Returns an unmodifiable list of all BPMN connection types.
static List getConversationLinkTypes()
          Returns an unmodifiable list of all BPMN conversation link types.
static List getConversationTypes()
          Returns an unmodifiable list of all BPMN conversation types.
static List getEventTypes()
          Returns an unmodifiable list of all BPMN event types.
static List getGatewayTypes()
          Returns an unmodifiable list of all BPMN gateway types.
static List getMessageFlowTypes()
          Returns an unmodifiable list of all BPMN message flow types.
static List getNodeTypes()
          Returns an unmodifiable list of all BPMN node types.
static List getPoolTypes()
          Returns an unmodifiable list of all BPMN pool types.
static List getSequenceFlowTypes()
          Returns an unmodifiable list of all BPMN sequence flow types.
static List getStatelessTypes()
          Returns an unmodifiable list of all BPMN activity stateless types.
static List getSubProcessTypes()
          Returns an unmodifiable list of all BPMN activity sub-process types.
static List getTaskTypes()
          Returns an unmodifiable list of all BPMN activity task types.
static boolean isActivityGroupNodeType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN activity group node type.
static boolean isActivityGroupNodeType(BpmnTypeEnum type, MarkerTypeEnum[] markers)
          Returns whether or not the given type with markers is a BPMN activity group node type.
static boolean isActivityType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN activity type.
static boolean isArtifactType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN artifact type.
static boolean isAssociationType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN association type.
static boolean isChoreographyType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN choreography type.
static boolean isConnectionType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN connection type.
static boolean isConversationLinkTypes(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN conversation link type.
static boolean isConversationType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN conversation type.
static boolean isEventType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN event type.
static boolean isGatewayType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN gateway type.
static boolean isMessageFlowType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN message flow type.
static boolean isNodeType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN node type.
static boolean isPoolType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN pool type.
static boolean isSequenceFlowType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN sequence flow type.
static boolean isStatelessType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN activity stateless type.
static boolean isStatelessType(BpmnTypeEnum type, MarkerTypeEnum[] markers)
          Returns whether or not the given type with markers is a BPMN activity stateless type.
static boolean isSubProcessType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN activity sub-process type.
static boolean isSubProcessType(BpmnTypeEnum type, MarkerTypeEnum[] markers)
          Returns whether or not the given type with markers is a BPMN activity sub-process type.
static boolean isTaskType(BpmnTypeEnum type)
          Returns whether or not the given type is a BPMN activity task type.
static boolean isTaskType(BpmnTypeEnum type, MarkerTypeEnum[] markers)
          Returns whether or not the given type with markers is a BPMN activity task type.
 String toString()
          Returns a string representation of this BPMN type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POOL_TYPE_EMPTY

public static final BpmnTypeEnum POOL_TYPE_EMPTY
Type constant for an empty pool.


POOL_TYPE_COLUMN

public static final BpmnTypeEnum POOL_TYPE_COLUMN
Type constant for a column based pool.


POOL_TYPE_LANE

public static final BpmnTypeEnum POOL_TYPE_LANE
Type constant for a row based pool.


POOL_TYPE_LANE_AND_COLUMN

public static final BpmnTypeEnum POOL_TYPE_LANE_AND_COLUMN
Type constant for a matrix style pool.


ACTIVITY_TYPE

public static final BpmnTypeEnum ACTIVITY_TYPE
Type constant for a generic stateless activity. The activity sub-type has to be specified using ActivityTypeEnum. Activity markers may be specified using MarkerTypeEnum.


ACTIVITY_TYPE_TASK_PLAIN

public static final BpmnTypeEnum ACTIVITY_TYPE_TASK_PLAIN
Type constant for a plain task activity.


ACTIVITY_TYPE_TASK_AD_HOC

public static final BpmnTypeEnum ACTIVITY_TYPE_TASK_AD_HOC
Type constant for an ad hoc task activity.


ACTIVITY_TYPE_TASK_LOOP

public static final BpmnTypeEnum ACTIVITY_TYPE_TASK_LOOP
Type constant for a loop task activity.


ACTIVITY_TYPE_TASK_MULTIPLE

public static final BpmnTypeEnum ACTIVITY_TYPE_TASK_MULTIPLE
Type constant for a parallel task activity.


ACTIVITY_TYPE_SUBPROCESS_PLAIN

public static final BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_PLAIN
Type constant for a plain sub-process activity.


ACTIVITY_TYPE_SUBPROCESS_AD_HOC

public static final BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_AD_HOC
Type constant for an ad hoc sub-process activity.


ACTIVITY_TYPE_SUBPROCESS_LOOP

public static final BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_LOOP
Type constant for a loop sub-process activity.


ACTIVITY_TYPE_SUBPROCESS_MULTIPLE

public static final BpmnTypeEnum ACTIVITY_TYPE_SUBPROCESS_MULTIPLE
Type constant for a parallel sub-process activity.


ACTIVITY_TYPE_STATELESS_TASK_PLAIN

public static final BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_PLAIN
Type constant for a stateless plain activity.


ACTIVITY_TYPE_STATELESS_TASK_AD_HOC

public static final BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_AD_HOC
Type constant for a stateless ad hoc activity.


ACTIVITY_TYPE_STATELESS_TASK_LOOP

public static final BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_LOOP
Type constant for a stateless loop activity.


ACTIVITY_TYPE_STATELESS_TASK_MULTIPLE

public static final BpmnTypeEnum ACTIVITY_TYPE_STATELESS_TASK_MULTIPLE
Type constant for a stateless parallel activity.


GATEWAY_TYPE_PLAIN

public static final BpmnTypeEnum GATEWAY_TYPE_PLAIN
Type constant for a plain exclusive gateway.


GATEWAY_TYPE_DATA_BASED_EXCLUSIVE

public static final BpmnTypeEnum GATEWAY_TYPE_DATA_BASED_EXCLUSIVE
Type constant for a marked exclusive gateway.


GATEWAY_TYPE_INCLUSIVE

public static final BpmnTypeEnum GATEWAY_TYPE_INCLUSIVE
Type constant for an inclusive gateway.


GATEWAY_TYPE_PARALLEL

public static final BpmnTypeEnum GATEWAY_TYPE_PARALLEL
Type constant for a parallel gateway.


GATEWAY_TYPE_COMPLEX

public static final BpmnTypeEnum GATEWAY_TYPE_COMPLEX
Type constant for a complex gateway.


GATEWAY_TYPE_EVENT_BASED_EXCLUSIVE

public static final BpmnTypeEnum GATEWAY_TYPE_EVENT_BASED_EXCLUSIVE
Type constant for an event-based gateway.


GATEWAY_TYPE_EVENT_BASED_EXCLUSIVE_START_PROCESS

public static final BpmnTypeEnum GATEWAY_TYPE_EVENT_BASED_EXCLUSIVE_START_PROCESS
Type constant for an event-based gateway to start a process.


GATEWAY_TYPE_PARALLEL_EVENT_BASED_EXCLUSIVE_START_PROCESS

public static final BpmnTypeEnum GATEWAY_TYPE_PARALLEL_EVENT_BASED_EXCLUSIVE_START_PROCESS
Type constant for a parallel event-based gateway.


EVENT_TYPE_PLAIN

public static final BpmnTypeEnum EVENT_TYPE_PLAIN
Type constant for a plain event.


EVENT_TYPE_CANCEL

public static final BpmnTypeEnum EVENT_TYPE_CANCEL
Type constant for a cancel event.


EVENT_TYPE_COMPENSATION

public static final BpmnTypeEnum EVENT_TYPE_COMPENSATION
Type constant for a compensation event.


EVENT_TYPE_CONDITIONAL

public static final BpmnTypeEnum EVENT_TYPE_CONDITIONAL
Type constant for a conditional event.


EVENT_TYPE_ERROR

public static final BpmnTypeEnum EVENT_TYPE_ERROR
Type constant for an error event.


EVENT_TYPE_LINK

public static final BpmnTypeEnum EVENT_TYPE_LINK
Type constant for a link event.


EVENT_TYPE_MESSAGE

public static final BpmnTypeEnum EVENT_TYPE_MESSAGE
Type constant for a message event.


EVENT_TYPE_MULTIPLE

public static final BpmnTypeEnum EVENT_TYPE_MULTIPLE
Type constant for multiple events.


EVENT_TYPE_SIGNAL

public static final BpmnTypeEnum EVENT_TYPE_SIGNAL
Type constant for a signal event.


EVENT_TYPE_TERMINATE

public static final BpmnTypeEnum EVENT_TYPE_TERMINATE
Type constant for a termination event.


EVENT_TYPE_TIMER

public static final BpmnTypeEnum EVENT_TYPE_TIMER
Type constant for a timer event.


EVENT_TYPE_ESCALATION

public static final BpmnTypeEnum EVENT_TYPE_ESCALATION
Type constant for an escalation event.


EVENT_TYPE_PARALLEL_MULTIPLE

public static final BpmnTypeEnum EVENT_TYPE_PARALLEL_MULTIPLE
Type constant for parallel multiple events.


ARTIFACT_TYPE_ANNOTATION

public static final BpmnTypeEnum ARTIFACT_TYPE_ANNOTATION
Type constant for an annotation.


ARTIFACT_TYPE_DATA_OBJECT

public static final BpmnTypeEnum ARTIFACT_TYPE_DATA_OBJECT
Type constant for a data object.

See Also:
DataObjectTypeEnum

ARTIFACT_TYPE_GROUP

public static final BpmnTypeEnum ARTIFACT_TYPE_GROUP
Type constant for a group.


ARTIFACT_TYPE_DATA_STORE

public static final BpmnTypeEnum ARTIFACT_TYPE_DATA_STORE
Type constant for a data store.


ARTIFACT_TYPE_REQUEST_MESSAGE

public static final BpmnTypeEnum ARTIFACT_TYPE_REQUEST_MESSAGE
Type constant for a request message.


ARTIFACT_TYPE_REPLY_MESSAGE

public static final BpmnTypeEnum ARTIFACT_TYPE_REPLY_MESSAGE
Type constant for a reply message.


CONVERSATION_TYPE

public static final BpmnTypeEnum CONVERSATION_TYPE
Type constant for a BPMN conversation.

See Also:
ConversationTypeEnum

CHOREOGRAPHY_TYPE

public static final BpmnTypeEnum CHOREOGRAPHY_TYPE
Type constant for a BPMN choreography.

See Also:
ChoreographyTypeEnum

CONNECTION_TYPE_ASSOCIATION

public static final BpmnTypeEnum CONNECTION_TYPE_ASSOCIATION
Type constant for an association.


CONNECTION_TYPE_DIRECTED_ASSOCIATION

public static final BpmnTypeEnum CONNECTION_TYPE_DIRECTED_ASSOCIATION
Type constant for an unidirected association.


CONNECTION_TYPE_BIDIRECTED_ASSOCIATION

public static final BpmnTypeEnum CONNECTION_TYPE_BIDIRECTED_ASSOCIATION
Type constant for a bidirectional association.


CONNECTION_TYPE_DEFAULT_FLOW

public static final BpmnTypeEnum CONNECTION_TYPE_DEFAULT_FLOW
Type constant for a default flow.


CONNECTION_TYPE_CONDITIONAL_FLOW

public static final BpmnTypeEnum CONNECTION_TYPE_CONDITIONAL_FLOW
Type constant for a conditional flow.


CONNECTION_TYPE_MESSAGE_FLOW

public static final BpmnTypeEnum CONNECTION_TYPE_MESSAGE_FLOW
Type constant for a message flow.


CONNECTION_TYPE_SEQUENCE_FLOW

public static final BpmnTypeEnum CONNECTION_TYPE_SEQUENCE_FLOW
Type constant for a sequence flow.


CONNECTION_TYPE_CONVERSATION_LINK

public static final BpmnTypeEnum CONNECTION_TYPE_CONVERSATION_LINK
Type constant for a conversation link.


CONNECTION_TYPE_FORKED_CONVERSATION_LINK

public static final BpmnTypeEnum CONNECTION_TYPE_FORKED_CONVERSATION_LINK
Type constant for a forked conversation link.

Method Detail

toString

public String toString()
Returns a string representation of this BPMN type.

Returns:
a string representation of this BPMN type.

getByName

public static BpmnTypeEnum getByName(String name)
Retrieves the BPMN type constant that corresponds to the specified type name.

Parameters:
name - the name of the BPMN type.
Returns:
the BPMN type constant for the specified type name or null if there is no corresponding BPMN type constant.

getNodeTypes

public static List getNodeTypes()
Returns an unmodifiable list of all BPMN node types.

Returns:
a list of BpmnTypeEnum instances.

isNodeType

public static boolean isNodeType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN node type.

Parameters:
type - the BPMN type to check.
Returns:
true if the given type is a BPMN node type; false otherwise.
See Also:
getNodeTypes()

getPoolTypes

public static List getPoolTypes()
Returns an unmodifiable list of all BPMN pool types.

Returns:
a list of BpmnTypeEnum instances.

isPoolType

public static boolean isPoolType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN pool type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN pool type; false otherwise.
See Also:
getPoolTypes()

getActivityTypes

public static List getActivityTypes()
Returns an unmodifiable list of all BPMN activity types.

Returns:
a list of BpmnTypeEnum instances.

isActivityType

public static boolean isActivityType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN activity type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN activity type; false otherwise.
See Also:
getActivityTypes()

getActivityGroupNodeTypes

public static List getActivityGroupNodeTypes()
Returns an unmodifiable list of all BPMN activity group node types.

Returns:
a list of BpmnTypeEnum instances.

isActivityGroupNodeType

public static boolean isActivityGroupNodeType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN activity group node type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN activity group node type; false otherwise.
See Also:
getActivityGroupNodeTypes()

isActivityGroupNodeType

public static boolean isActivityGroupNodeType(BpmnTypeEnum type,
                                              MarkerTypeEnum[] markers)
Returns whether or not the given type with markers is a BPMN activity group node type.

Parameters:
type - the BPMN node type to check.
markers - the activity markers of the BPMN node type to check.
Returns:
true if the given type is a BPMN activity group node type; false otherwise.
See Also:
getActivityGroupNodeTypes()

getSubProcessTypes

public static List getSubProcessTypes()
Returns an unmodifiable list of all BPMN activity sub-process types.

Returns:
a list of BpmnTypeEnum instances.

isSubProcessType

public static boolean isSubProcessType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN activity sub-process type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN activity sub-process type; false otherwise.
See Also:
getSubProcessTypes()

isSubProcessType

public static boolean isSubProcessType(BpmnTypeEnum type,
                                       MarkerTypeEnum[] markers)
Returns whether or not the given type with markers is a BPMN activity sub-process type.

Parameters:
type - the BPMN node type to check.
markers - the activity markers of the BPMN node type to check.
Returns:
true if the given type is a BPMN activity sub-process type; false otherwise.
See Also:
getSubProcessTypes()

getTaskTypes

public static List getTaskTypes()
Returns an unmodifiable list of all BPMN activity task types.

Returns:
a list of BpmnTypeEnum instances.

isTaskType

public static boolean isTaskType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN activity task type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN activity task type; false otherwise.
See Also:
getTaskTypes()

isTaskType

public static boolean isTaskType(BpmnTypeEnum type,
                                 MarkerTypeEnum[] markers)
Returns whether or not the given type with markers is a BPMN activity task type.

Parameters:
type - the BPMN node type to check.
markers - the activity markers of the BPMN node type to check.
Returns:
true if the given type is a BPMN activity task type; false otherwise.
See Also:
getTaskTypes()

getStatelessTypes

public static List getStatelessTypes()
Returns an unmodifiable list of all BPMN activity stateless types.

Returns:
a list of BpmnTypeEnum instances.

isStatelessType

public static boolean isStatelessType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN activity stateless type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN activity stateless type; false otherwise.
See Also:
getStatelessTypes()

isStatelessType

public static boolean isStatelessType(BpmnTypeEnum type,
                                      MarkerTypeEnum[] markers)
Returns whether or not the given type with markers is a BPMN activity stateless type.

Parameters:
type - the BPMN node type to check.
markers - the activity markers of the BPMN node type to check.
Returns:
true if the given type is a BPMN activity stateless type; false otherwise.
See Also:
getStatelessTypes()

getGatewayTypes

public static List getGatewayTypes()
Returns an unmodifiable list of all BPMN gateway types.

Returns:
a list of BpmnTypeEnum instances.

isGatewayType

public static boolean isGatewayType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN gateway type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN gateway type; false otherwise.
See Also:
getGatewayTypes()

getEventTypes

public static List getEventTypes()
Returns an unmodifiable list of all BPMN event types.

Returns:
a list of BpmnTypeEnum instances.

isEventType

public static boolean isEventType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN event type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN event type; false otherwise.
See Also:
getEventTypes()

getArtifactTypes

public static List getArtifactTypes()
Returns an unmodifiable list of all BPMN artifact types.

Returns:
a list of BpmnTypeEnum instances.

isArtifactType

public static boolean isArtifactType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN artifact type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN artifact type; false otherwise.
See Also:
getArtifactTypes()

getConversationTypes

public static List getConversationTypes()
Returns an unmodifiable list of all BPMN conversation types.

Returns:
a list of BpmnTypeEnum instances.

isConversationType

public static boolean isConversationType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN conversation type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN conversation type; false otherwise.
See Also:
getConversationTypes()

getChoreographyTypes

public static List getChoreographyTypes()
Returns an unmodifiable list of all BPMN choreography types.

Returns:
a list of BpmnTypeEnum instances.

isChoreographyType

public static boolean isChoreographyType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN choreography type.

Parameters:
type - the BPMN node type to check.
Returns:
true if the given type is a BPMN choreography type; false otherwise.
See Also:
getChoreographyTypes()

getConnectionTypes

public static List getConnectionTypes()
Returns an unmodifiable list of all BPMN connection types.

Returns:
a list of BpmnTypeEnum instances.

isConnectionType

public static boolean isConnectionType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN connection type.

Parameters:
type - the BPMN type to check.
Returns:
true if the given type is a BPMN connection type; false otherwise.
See Also:
getConnectionTypes()

getSequenceFlowTypes

public static List getSequenceFlowTypes()
Returns an unmodifiable list of all BPMN sequence flow types.

Returns:
a list of BpmnTypeEnum instances.

isSequenceFlowType

public static boolean isSequenceFlowType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN sequence flow type.

Parameters:
type - the BPMN edge type to check.
Returns:
true if the given type is a BPMN sequence flow type; false otherwise.
See Also:
getSequenceFlowTypes()

getMessageFlowTypes

public static List getMessageFlowTypes()
Returns an unmodifiable list of all BPMN message flow types.

Returns:
a list of BpmnTypeEnum instances.

isMessageFlowType

public static boolean isMessageFlowType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN message flow type.

Parameters:
type - the BPMN edge type to check.
Returns:
true if the given type is a BPMN message flow type; false otherwise.
See Also:
getSequenceFlowTypes()

getAssociationTypes

public static List getAssociationTypes()
Returns an unmodifiable list of all BPMN association types.

Returns:
a list of BpmnTypeEnum instances.

isAssociationType

public static boolean isAssociationType(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN association type.

Parameters:
type - the BPMN edge type to check.
Returns:
true if the given type is a BPMN association type; false otherwise.
See Also:
getSequenceFlowTypes()

getConversationLinkTypes

public static List getConversationLinkTypes()
Returns an unmodifiable list of all BPMN conversation link types.

Returns:
a list of BpmnTypeEnum instances.

isConversationLinkTypes

public static boolean isConversationLinkTypes(BpmnTypeEnum type)
Returns whether or not the given type is a BPMN conversation link type.

Parameters:
type - the BPMN edge type to check.
Returns:
true if the given type is a BPMN conversation link type; false otherwise.
See Also:
getConversationLinkTypes()


© Copyright 2010-2014,
yWorks GmbH.
All rights reserved.