filenet.vw.api
Class VWMergeType
- java.lang.Object
-
- filenet.vw.api.VWMergeType
-
public final class VWMergeType extends java.lang.ObjectUse 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
-
-
Field Summary
Fields Modifier and Type Field and Description static intMERGE_TYPE_ADDValue of 5. Indicates an Add merge type.static intMERGE_TYPE_APPENDValue of 2. Indicates an Append merge type.static intMERGE_TYPE_APPEND_NO_DUPValue of 6. Indicates an Append without Duplicates merge type.static intMERGE_TYPE_DEFAULTValue of 1. Indicates a Default merge type.static intMERGE_TYPE_OVERRIDEValue of 3. Indicates an Override merge type.static intMERGE_TYPE_OVERRIDE_ENTRYValue of 4. Indicates an Override entry merge type.
-
Constructor Summary
Constructors Constructor and Description VWMergeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetLocalizedString(int theMergeType)Gets a localized string representation of the merge type.static booleanisValid(int theMergeType)Validates the specified merge type.
-
-
-
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
-
-
Method Detail
-
getLocalizedString
public static java.lang.String getLocalizedString(int theMergeType) throws VWExceptionGets 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
trueif integer value specified in the theMergeType parameter is valid; otherwise, the method returnsfalse.
-
-