public class MergeMode
extends java.lang.Object
implements java.io.Serializable
INTERSECTION
). The search results will contain
the classes occurring in every repository searched.UNION
). The search results will contain the classes
occurring in any repository searched.
SearchScope
,
JoinOperator
,
Merge Mode in the Help for Content Engine Development,
Serialized FormModifier and Type | Field and Description |
---|---|
static MergeMode |
INTERSECTION
A constant representing a MergeMode instance of type INTERSECTION.
|
static int |
INTERSECTION_AS_INT
An integer associated with the INTERSECTION instance of this class.
|
static MergeMode |
UNION
A constant representing a MergeMode instance of type UNION.
|
static int |
UNION_AS_INT
An integer associated with the UNION instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static MergeMode |
getInstanceFromInt(int value)
Gets the instance of this class using its associated integer value (the *_AS_INT fields).
|
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a String representation of this instance.
|
public static final int INTERSECTION_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final MergeMode INTERSECTION
getValue()
,
getInstanceFromInt(int)
public static final int UNION_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final MergeMode UNION
getValue()
,
getInstanceFromInt(int)
public int getValue()
public static MergeMode getInstanceFromInt(int value)
value
- An integer representing a particular static instance of this class.EngineRuntimeException
- Thrown when the parameter is null or invalid.public java.lang.String toString()
toString
in class java.lang.Object
© Copyright IBM Corporation 2006, 2015. All rights reserved.