Process Class Relationships

filenet.vw.api
Class VWModeType

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

public final class VWModeType
extends java.lang.Object

Use this class to specify a directional attribute of an object such as, for example, a parameter of an operation or a step. The valid argument mode types are as following:


Field Summary
static int MODE_TYPE_IN
          Integer value of 1. Indicates that the argument is an input parameter, which is passed by value.
static int MODE_TYPE_IN_OUT
          Integer value of 3. Indicates that the argument is an input/output parameter, which is passed by reference.
static int MODE_TYPE_OUT
          Integer value of 2. Indicates that the argument is an output parameter, which is passed by reference.
 
Constructor Summary
VWModeType()
           
 
Method Summary
static java.lang.String getLocalizedString(int theModeType)
          Gets a localized string representation of the mode type.
static boolean isValid(int theModeType)
          Validates the mode type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_TYPE_IN

public static final int MODE_TYPE_IN
Integer value of 1. Indicates that the argument is an input parameter, which is passed by value.

MODE_TYPE_OUT

public static final int MODE_TYPE_OUT
Integer value of 2. Indicates that the argument is an output parameter, which is passed by reference.

MODE_TYPE_IN_OUT

public static final int MODE_TYPE_IN_OUT
Integer value of 3. Indicates that the argument is an input/output parameter, which is passed by reference.
Constructor Detail

VWModeType

public VWModeType()
Method Detail

getLocalizedString

public static java.lang.String getLocalizedString(int theModeType)
                                           throws VWException
Gets a localized string representation of the mode type.
Parameters:
theModeType - An integer value associated with the mode type value to be represented by a string.
Returns:
The localized string representation of the mode type.
Throws:
VWException - The method throws an exception if the integer value mode type specified is invalid.

isValid

public static boolean isValid(int theModeType)
Validates the mode type.
Parameters:
theModeType - An integer associated with the mode type value to be validated.
Returns:
A Boolean value. The method returns true if the integer value specified in the theModeType parameter is valid; otherwise, the method returns false.

Process Class Relationships

Copyright © 2002 FileNET Corporation. All rights reserved.