|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.common.CorrelationKeySet
public class CorrelationKeySet
This class implements a set of correlation keys. The example of canonical forms of correlation key sets are:
Field Summary | |
---|---|
static java.lang.String |
VERSION_1
|
static java.lang.String |
VERSION_2
|
Constructor Summary | |
---|---|
CorrelationKeySet()
Default Constructor |
|
CorrelationKeySet(java.lang.String canonicalForm)
Restores the state by parsing the given canonical form of correlation key set. |
Method Summary | |
---|---|
CorrelationKeySet |
add(CorrelationKey ck)
Adds a correlation key to this correlation key set. |
void |
clear()
Removes all correlation keys in this correlation keys. |
boolean |
contains(CorrelationKey correlationKey)
Returns true if this correlation key set contains the give correlation key. |
boolean |
containsAll(CorrelationKeySet c)
Checks if this correlation key set contains all correlation keys from the given correlation key set. |
boolean |
equals(java.lang.Object o)
|
java.util.List<CorrelationKeySet> |
findSubSets()
Finds all subsets of this correlation key set. |
boolean |
isEmpty()
Returns true if this correlation key set contains no correlation keys. |
boolean |
isOpaque()
Checks if this correlation key set contains the opaque correlation key as the only key in this correlation key set. |
boolean |
isRoutableTo(CorrelationKeySet candidateKeySet,
boolean isAllRoute)
Checks if an incoming message with this correlation key set can be accepted by the given correlation key set. |
java.util.Iterator<CorrelationKey> |
iterator()
Returns an iterator on the correlation keys that this correlation key set contains. |
void |
restore(java.lang.String canonicalForm)
Restores the state of this correlation key set from a canonical form. |
java.lang.String |
toCanonicalString()
Returns a canonical form of this correlation key set. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION_1
public static final java.lang.String VERSION_2
Constructor Detail |
---|
public CorrelationKeySet()
public CorrelationKeySet(java.lang.String canonicalForm)
canonicalForm
- canonical form of correlation key setMethod Detail |
---|
public CorrelationKeySet add(CorrelationKey ck)
ck
- a correlation key to add
public boolean isOpaque()
public boolean isRoutableTo(CorrelationKeySet candidateKeySet, boolean isAllRoute)
candidateKeySet
- a correlation key set stored in a routeisAllRoute
- use true if the route="all" is set
public boolean containsAll(CorrelationKeySet c)
c
- a correlation key set
public boolean isEmpty()
public boolean contains(CorrelationKey correlationKey)
correlationKey
- a correlation key
public java.util.Iterator<CorrelationKey> iterator()
public void clear()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.util.List<CorrelationKeySet> findSubSets()
public java.lang.String toCanonicalString()
public java.lang.String toString()
toString
in class java.lang.Object
public void restore(java.lang.String canonicalForm)
canonicalForm
- a canonical form of correlation key set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |