Process API

filenet.vw.api
Class VWMergeType

java.lang.Object
  extended by 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
          Value of 5. Indicates an Add merge type.
static int MERGE_TYPE_APPEND
          Value of 2. Indicates an Append merge type.
static int MERGE_TYPE_APPEND_NO_DUP
          Value of 6. Indicates an Append without Duplicates merge type.
static int MERGE_TYPE_DEFAULT
          Value of 1. Indicates a Default merge type.
static int MERGE_TYPE_OVERRIDE
          Value of 3. Indicates an Override merge type.
static int MERGE_TYPE_OVERRIDE_ENTRY
          Value of 4. Indicates an Override entry merge type.
 
Constructor Summary
VWMergeType()
           
 
Method Summary
static java.lang.String _get_FILE_AUTHOR()
          For FileNet internal use only, do not call.
static java.lang.String _get_FILE_DATE()
          For FileNet internal use only, do not call.
static java.lang.String _get_FILE_REVISION()
          For FileNet internal use only, do not call.
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

_get_FILE_DATE

public static java.lang.String _get_FILE_DATE()
For FileNet internal use only, do not call.


_get_FILE_AUTHOR

public static java.lang.String _get_FILE_AUTHOR()
For FileNet internal use only, do not call.


_get_FILE_REVISION

public static java.lang.String _get_FILE_REVISION()
For FileNet internal use only, do not call.


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 API

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