com.yworks.yfiles.bpmn.view
Class DataObjectTypeEnum

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

public class DataObjectTypeEnum
extends Object

Type-safe enumeration for data object types.

 

Field Summary
static DataObjectTypeEnum INPUT
          Type constant for data input.
static DataObjectTypeEnum OUTPUT
          Type constant for data output.
static DataObjectTypeEnum PLAIN
          Type constant for plain data.
 
Method Summary
static DataObjectTypeEnum getByName(String name)
          Returns the data object type constant that corresponds to the given data object type name.
 String toString()
          Returns a string representation of this activity type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLAIN

public static final DataObjectTypeEnum PLAIN
Type constant for plain data.


INPUT

public static final DataObjectTypeEnum INPUT
Type constant for data input.


OUTPUT

public static final DataObjectTypeEnum OUTPUT
Type constant for data output.

Method Detail

toString

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


getByName

public static DataObjectTypeEnum getByName(String name)
Returns the data object type constant that corresponds to the given data object type name.

Parameters:
name - the name of the type constant to retrieve. Should be one of
  • DATA_OBJECT_TYPE_INPUT
  • DATA_OBJECT_TYPE_OUTPUT
  • DATA_OBJECT_TYPE_PLAIN
Returns:
the data object 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.