filenet.vw.api

Class VWMergeType

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


  • public final class VWMergeType
    extends java.lang.Object
    Use this class to get the merge type for data fields. The available merge types are as follows:

    • 1: Default (MERGE_TYPE_DEFAULT)
    • 2: Append (MERGE_TYPE_APPEND)
    • 3: Override (MERGE_TYPE_OVERRIDE)
    • 4: Override entry (MERGE_TYPE_OVERRIDE_ENTRY)
    • 5: Add (MERGE_TYPE_ADD)
    • 6: Append without duplicates (MERGE_TYPE_APPEND_NO_DUP)

    See Also:
    VWFieldDefinition
    • Constructor Summary

      Constructors 
      Constructor and Description
      VWMergeType() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getLocalizedString(int theMergeType)
      Gets a localized string representation of the merge type.
      static boolean isValid(int theMergeType)
      Validates the specified merge type.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MERGE_TYPE_DEFAULT

        public static final int MERGE_TYPE_DEFAULT
        Value of 1. Indicates a Default merge type.
        See Also:
        Constant Field Values
      • MERGE_TYPE_APPEND

        public static final int MERGE_TYPE_APPEND
        Value of 2. Indicates an Append merge type.
        See Also:
        Constant Field Values
      • MERGE_TYPE_OVERRIDE

        public static final int MERGE_TYPE_OVERRIDE
        Value of 3. Indicates an Override merge type.
        See Also:
        Constant Field Values
      • MERGE_TYPE_OVERRIDE_ENTRY

        public static final int MERGE_TYPE_OVERRIDE_ENTRY
        Value of 4. Indicates an Override entry merge type.
        See Also:
        Constant Field Values
      • MERGE_TYPE_ADD

        public static final int MERGE_TYPE_ADD
        Value of 5. Indicates an Add merge type.
        See Also:
        Constant Field Values
      • MERGE_TYPE_APPEND_NO_DUP

        public static final int MERGE_TYPE_APPEND_NO_DUP
        Value of 6. Indicates an Append without Duplicates merge type.
        See Also:
        Constant Field Values
    • Constructor Detail

      • VWMergeType

        public VWMergeType()
    • Method Detail

      • getLocalizedString

        public static java.lang.String getLocalizedString(int theMergeType)
                                                   throws VWException
        Gets a localized string representation of the merge type.
        Parameters:
        theMergeType - An integer value associated with the merge type to be represented by a string.
        Returns:
        Localized string that is the ASCII representation of the merge type.
        Throws:
        VWException - The method throws an exception if the merge type integer value specified in the theMergeType parameter is invalid.
      • isValid

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

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