Process API

filenet.vw.api
Class VWAssociationTargetType

java.lang.Object
  extended by filenet.vw.api.VWAssociationTargetType

public class VWAssociationTargetType
extends java.lang.Object

Specifies whether the type of target an association references is a node (step) or route in a map. In conjunction with the target id, the target type identifies the object referenced by an association. Because ids for steps and routes come from different pools, they could have the same id. The target type is needed to fully qualify the identity of the referenced object.

See Also:
VWMapNode, VWRouteDefinition, VWAssociationDefinition, VWTextAnnotationDefinition, VWAssociationDefinition.getTargetType()

Field Summary
static int TARGET_TYPE_MAPNODE
          Value of 1.
static int TARGET_TYPE_ROUTE
          Value of 2.
 
Constructor Summary
VWAssociationTargetType()
           
 
Method Summary
static java.lang.String _get_FILE_AUTHOR()
          For FileNet internal use only, do not call.
static java.lang.String _get_FILE_DATE()
          For FileNet internal use only, do not call.
static java.lang.String _get_FILE_REVISION()
          For FileNet internal use only, do not call.
static java.lang.String getLocalizedString(int targetType)
          Get a localized String representation of the this instance.
static boolean isValid(int targetType)
          Indicates whether or not the target type is valid.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_TYPE_MAPNODE

public static final int TARGET_TYPE_MAPNODE
Value of 1. Indicates the target type is a map node (step).

See Also:
Constant Field Values

TARGET_TYPE_ROUTE

public static final int TARGET_TYPE_ROUTE
Value of 2. Indicates the target type is a route.

See Also:
Constant Field Values
Constructor Detail

VWAssociationTargetType

public VWAssociationTargetType()
Method Detail

_get_FILE_DATE

public static java.lang.String _get_FILE_DATE()
For FileNet internal use only, do not call.


_get_FILE_AUTHOR

public static java.lang.String _get_FILE_AUTHOR()
For FileNet internal use only, do not call.


_get_FILE_REVISION

public static java.lang.String _get_FILE_REVISION()
For FileNet internal use only, do not call.


getLocalizedString

public static java.lang.String getLocalizedString(int targetType)
                                           throws VWException
Get a localized String representation of the this instance.

Parameters:
targetType - An integer identifying the target type to be represented.
Returns:
A localized String, representing the target type.
Throws:
VWException - Thrown if the target type is invalid.

isValid

public static boolean isValid(int targetType)
Indicates whether or not the target type is valid.

Parameters:
targetType - An integer identifying the target type to be validated.
Returns:
A boolean value of true if the specified targetType value is valid; false otherwise.

Process API

© Copyright IBM Corporation 2002, 2008. All rights reserved.