Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


com.oracle.bpel.client
Class BPELProcessId

java.lang.Object
  extended by com.oracle.bpel.client.AbstractIdentifier
      extended by com.oracle.bpel.client.BPELProcessId

All Implemented Interfaces:
java.io.Serializable

public class BPELProcessId
extends AbstractIdentifier
implements java.io.Serializable

Implementation of an BPEL process identifier. A process identifier is used to locate and identify a process that has been deployed to a BPEL process domain. Once an identifier has been constructed it is immutable.

Process identifiers may be constructed without specifying a process revision tag component. However, if such an identifier is passed to the process domain as an argument in a call which requires a process revision tag the revision most recently deployed (also known as the default revision) will be assumed.

Please refer to AbstractIdentifier class for the URI format expected of process identifiers.

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  java.lang.String mProcessGUID
           

 

Fields inherited from class com.oracle.bpel.client.AbstractIdentifier
mBuf, mDomainId, mKey, mProcessId, mRevisionTag

 

Constructor Summary
BPELProcessId(java.lang.String domainId, java.lang.String processId)
          Constructs a process identifier with a domain identifier and process identifier.
BPELProcessId(java.lang.String domainId, java.lang.String processId, java.lang.String revisionTag)
          Constructs a process identifier with a domain identifier, process identifier and revision tag.
BPELProcessId(java.lang.String domainId, java.lang.String processId, java.lang.String revisionTag, java.lang.String processGUID)
          Constructs a process identifier with a domain identifier, process identifier, revision tag and process GUID.

 

Method Summary
 boolean equals(java.lang.Object o)
          Compares this process identifier to the specified object.
 java.lang.String getProcessGUID()
          Returns the process GUID for this process identifier.
 int hashCode()
          Returns a hash code for this process id.
 void setProcessGUID(java.lang.String processGUID)
           

 

Methods inherited from class com.oracle.bpel.client.AbstractIdentifier
getDomainId, getInstanceId, getKey, getProcessId, getRevisionTag, hasKey, toString

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

mProcessGUID

protected java.lang.String mProcessGUID

Constructor Detail

BPELProcessId

public BPELProcessId(java.lang.String domainId,
                     java.lang.String processId,
                     java.lang.String revisionTag,
                     java.lang.String processGUID)
Constructs a process identifier with a domain identifier, process identifier, revision tag and process GUID.
Parameters:
domainId - the BPEL domain id.
processId - the process identifier; if null is passed, the process identifier will default to "*".
revisionTag - the process revision tag; this parameter is optional so null can be passed in.
processGUID - the process guid - each process deployed to the server is tagged with a unique guid - this parameter is optional so null can be passed in.

BPELProcessId

public BPELProcessId(java.lang.String domainId,
                     java.lang.String processId,
                     java.lang.String revisionTag)
Constructs a process identifier with a domain identifier, process identifier and revision tag. The process GUID will default to null.
Parameters:
domainId - the BPEL domain id.
processId - the process identifier; if null is passed, the process identifier will default to "*".
revisionTag - the process revision tag; this parameter is optional so null can be passed in.

BPELProcessId

public BPELProcessId(java.lang.String domainId,
                     java.lang.String processId)
Constructs a process identifier with a domain identifier and process identifier. This constructor is provided for convenience when the process revision tag is not known. Both the revision tag and process GUID will default to null.
Parameters:
domainId - the BPEL domain id.
processId - the process identifier; if null is passed, the process identifier will default to "*".

Method Detail

getProcessGUID

public java.lang.String getProcessGUID()
Returns the process GUID for this process identifier. The process GUID is not required to construct this object so it may be null.
Returns:
the process GUID

setProcessGUID

public void setProcessGUID(java.lang.String processGUID)

equals

public boolean equals(java.lang.Object o)
Compares this process identifier to the specified object. The result is true if and only if the argument is not null and is a BPELProcessId object that contains the same domain id, process id and revision tag.
Overrides:
equals in class java.lang.Object
Returns:
true if the BPELProcessId are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this process id. The hash code is taken from the string representation of this identifier.
Overrides:
hashCode in class java.lang.Object

Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


Copyright © 2006, Oracle. All rights reserved.