com.yworks.yfiles.bpmn.view
Class ChoreographyTypeEnum

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

public class ChoreographyTypeEnum
extends Object

Type-safe enumeration for BPMN choreography types.

 

Field Summary
static ChoreographyTypeEnum CALL
          Type constant for a call choreography.
static ChoreographyTypeEnum TASK
          Type constant for a task choreography.
 
Method Summary
static ChoreographyTypeEnum getByName(String name)
          Returns the choreography type constant that corresponds to the given choreography type name.
 String toString()
          Returns a string representation of this choreography type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TASK

public static final ChoreographyTypeEnum TASK
Type constant for a task choreography.


CALL

public static final ChoreographyTypeEnum CALL
Type constant for a call choreography.

Method Detail

toString

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


getByName

public static ChoreographyTypeEnum getByName(String name)
Returns the choreography type constant that corresponds to the given choreography type name.

Parameters:
name - the name of the type constant to retrieve. Should be one of
  • CHOREOGRAPHY_TYPE_CALL
  • CHOREOGRAPHY_TYPE_TASK
Returns:
the choreography type constant that corresponds to the given name or null if there is no corresponding type constant.


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