Process Class Relationships

filenet.vw.api
Class VWNodeType

java.lang.Object
  |
  +--filenet.vw.api.VWNodeType

public final class VWNodeType
extends java.lang.Object

Use this class to classify the nodes on a map into the following categories:

You can query an object derived from VWMapNode to find out its node type. This is useful in situations where, for example, a step must receive special processing to be displayed, depending on its node type.

See Also:
VWMapNode, VWStepDefinition, VWCompoundStepDefinition, VWMapNode.getNodeType()

Field Summary
static int NODE_TYPE_LAUNCH
          Value of 1
The node is a launch node, which is the first step in the main workflow definition map, which is called "Workflow".
static int NODE_TYPE_OTHER
          Value of 3
The node is neither a start nor a launch node.
static int NODE_TYPE_START
          Value of 2
The node is a start node, which is the first step in any workflow definition map other than the main map.
 
Constructor Summary
VWNodeType()
           
 
Method Summary
static java.lang.String getLocalizedString(int theNodeType)
          Get a localized String representation of the node type.
static boolean isValid(int theNodeType)
          Validates that the node type is in range.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_TYPE_LAUNCH

public static final int NODE_TYPE_LAUNCH
Value of 1
The node is a launch node, which is the first step in the main workflow definition map, which is called "Workflow".

NODE_TYPE_START

public static final int NODE_TYPE_START
Value of 2
The node is a start node, which is the first step in any workflow definition map other than the main map.

NODE_TYPE_OTHER

public static final int NODE_TYPE_OTHER
Value of 3
The node is neither a start nor a launch node.
Constructor Detail

VWNodeType

public VWNodeType()
Method Detail

getLocalizedString

public static java.lang.String getLocalizedString(int theNodeType)
                                           throws VWException
Get a localized String representation of the node type.
Parameters:
theNodeType - Node type value to be represented by a string
Returns:
A localized string representing of node type
Throws:
VWException - Thrown if the node type is invalid

isValid

public static boolean isValid(int theNodeType)
Validates that the node type is in range.
Parameters:
theNodeType - The node type value to be validated.
Returns:
true if theNodeType input parameter is valid, false otherwise

Process Class Relationships

Copyright © 2002 FileNET Corporation. All rights reserved.