org.apache.ode.bpel.common

Class CorrelationKey

    • Constructor Summary

      Constructors 
      Constructor and Description
      CorrelationKey(java.lang.String canonicalForm) 
      CorrelationKey(java.lang.String csetName, java.lang.String[] keyValues)
      Constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o)
      Equals comperator method.
      java.lang.String getCorrelationSetName()
      Return the OCorrelation id for the correlation set
      java.lang.String[] getValues()
      Return the values for the correlation set
      int hashCode()
      Generate a hash code from the hash codes of the elements.
      boolean isMatch(CorrelationKey[] keys)
      Check if this key matches any member in a set of keys.
      java.lang.String toCanonicalString() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CorrelationKey

        public CorrelationKey(java.lang.String csetName,
                      java.lang.String[] keyValues)
        Constructor.
        Parameters:
        csetName - correlation set identifier
        keyValues - correlation key values
      • CorrelationKey

        public CorrelationKey(java.lang.String canonicalForm)
    • Method Detail

      • getCorrelationSetName

        public java.lang.String getCorrelationSetName()
        Return the OCorrelation id for the correlation set
      • getValues

        public java.lang.String[] getValues()
        Return the values for the correlation set
      • isMatch

        public boolean isMatch(CorrelationKey[] keys)
        Check if this key matches any member in a set of keys.
        Parameters:
        keys - set of keys to match against
        Returns:
        true if one of the keys in the set equals(..) this key, false otherwise
      • equals

        public boolean equals(java.lang.Object o)
        Equals comperator method.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - CorrelationKey object to compare with
        Returns:
        true if the given object
      • hashCode

        public int hashCode()
        Generate a hash code from the hash codes of the elements.
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        AbstractMap.hashCode(), Object.hashCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • toCanonicalString

        public java.lang.String toCanonicalString()