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: Over-ride (MERGE_TYPE_OVERRIDE)
- 4: Over-ride entry (MERGE_TYPE_OVERRIDE_ENTRY)
- 5: Add (MERGE_TYPE_ADD)
- 6: Append without duplicates (MERGE_TYPE_APPEND_NO_DUP)
- See Also:
VWFieldDefinition
Method Summary |
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 |
MERGE_TYPE_DEFAULT
public static final int MERGE_TYPE_DEFAULT
- Integer value of 1. Indicates a Default merge type.
MERGE_TYPE_APPEND
public static final int MERGE_TYPE_APPEND
- Integer value of 2. Indicates an Append merge type.
MERGE_TYPE_OVERRIDE
public static final int MERGE_TYPE_OVERRIDE
- Integer value of 3. Indicates an Override merge type.
MERGE_TYPE_OVERRIDE_ENTRY
public static final int MERGE_TYPE_OVERRIDE_ENTRY
- Integer value of 4. Indicates an Override entry merge type.
MERGE_TYPE_ADD
public static final int MERGE_TYPE_ADD
- Integer value of 5. Indicates an Add merge type.
MERGE_TYPE_APPEND_NO_DUP
public static final int MERGE_TYPE_APPEND_NO_DUP
- Integer value of 6. Indicates an Add merge type.
VWMergeType
public VWMergeType()
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 © 2002 FileNET Corporation. All rights reserved.