filenet.vw.api

Class VWAssociationTargetType

  • java.lang.Object
    • filenet.vw.api.VWAssociationTargetType


  • public final 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()
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

      • 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.

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