filenet.vw.api
Class VWAssociationTargetType
- java.lang.Object
-
- filenet.vw.api.VWAssociationTargetType
-
public final class VWAssociationTargetType extends java.lang.ObjectSpecifies 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.
-
-
Field Summary
Fields Modifier and Type Field and Description static intTARGET_TYPE_MAPNODEValue of 1.static intTARGET_TYPE_ROUTEValue of 2.
-
Constructor Summary
Constructors Constructor and Description VWAssociationTargetType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetLocalizedString(int targetType)Get a localized String representation of the this instance.static booleanisValid(int targetType)Indicates whether or not the target type is valid.
-
-
-
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
-
-
Method Detail
-
getLocalizedString
public static java.lang.String getLocalizedString(int targetType) throws VWExceptionGet 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.
-
-