Process Class Relationships

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:


See Also:
VWFieldDefinition

Field Summary
static int MERGE_TYPE_ADD
          Integer value of 5. Indicates an Add merge type.
static int MERGE_TYPE_APPEND
          Integer value of 2. Indicates an Append merge type.
static int MERGE_TYPE_APPEND_NO_DUP
          Integer value of 6. Indicates an Add merge type.
static int MERGE_TYPE_DEFAULT
          Integer value of 1. Indicates a Default merge type.
static int MERGE_TYPE_OVERRIDE
          Integer value of 3. Indicates an Override merge type.
static int MERGE_TYPE_OVERRIDE_ENTRY
          Integer value of 4. Indicates an Override entry merge type.
 
Constructor Summary
VWMergeType()
           
 
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
 

Field Detail

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

Process Class Relationships

Copyright © 2002 FileNET Corporation. All rights reserved.