|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.processMediation.Status
Status objects are very simple objects used to trigger conditions in Process objects or cause the execution of Policy objects, as well as to generally provide information about how a process is progressing.
Field Summary | |
protected com.oakgrovesystems.reactor.processMediation.ACL |
acl
|
protected boolean |
availableToEntireSubtree
|
protected java.lang.String |
description
|
protected java.lang.String |
id
|
protected java.lang.String |
label
|
protected com.oakgrovesystems.reactor.processMediation.MetaDataParser |
metaDataParser
|
protected java.lang.String |
metaDataString
|
protected com.oakgrovesystems.reactor.ReactorObjectId |
process
|
Constructor Summary | |
Status()
Creates a new Status and sets it Id |
|
Status(java.lang.String id)
Creates a new Status with the specified Id |
Method Summary | |
com.oakgrovesystems.reactor.processMediation.ProcessMediationObject |
copy()
returns a deep copy of this ProcessMediationObject |
com.oakgrovesystems.reactor.processMediation.ACL |
getACL()
gets the ACL of this ProcessMediationObject. |
java.lang.String |
getDescription()
gets the desciption of this ProcessMediationObject. |
java.lang.String |
getId()
gets the Id of this ProcessMediationObject. |
java.lang.String |
getLabel()
set the desciption of this ProcessMediationObject. |
java.lang.String |
getMetaDataString()
|
java.lang.String |
getMetaDataValue(java.lang.String key)
|
com.oakgrovesystems.reactor.ReactorObjectId |
getProcess()
Gets the ReactorObjectId of the Process object with which this ProcessAssociatedObject is associated. |
boolean |
getScope()
A boolean indicating the scope of this Status |
boolean |
sameAs(java.lang.Object o)
compares two Statuses for content equality |
void |
setACL(com.oakgrovesystems.reactor.processMediation.ACL acl)
set the ACL of this ProcessMediationObject. |
void |
setDescription(java.lang.String description)
set the desciption of this ProcessMediationObject. |
void |
setId(java.lang.String id)
set the Id of this ProcessMediationObject. |
void |
setLabel(java.lang.String label)
set the label of this ProcessMediationObject. |
void |
setMetaDataKeyValue(java.lang.String key,
java.lang.String value)
|
void |
setMetaDataString(java.lang.String s)
|
void |
setProcess(com.oakgrovesystems.reactor.ReactorObjectId id)
Associates this ProcessAssociatedObject with the Process object referred to by the ReactorObjectId procId. |
void |
setScope(boolean availableToEntireSubtree)
sets the scope of this Status. |
java.lang.String |
toString()
returns the label if it is not empty or null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String id
protected java.lang.String label
protected java.lang.String description
protected com.oakgrovesystems.reactor.processMediation.ACL acl
protected boolean availableToEntireSubtree
protected com.oakgrovesystems.reactor.ReactorObjectId process
protected java.lang.String metaDataString
protected com.oakgrovesystems.reactor.processMediation.MetaDataParser metaDataParser
Constructor Detail |
public Status()
public Status(java.lang.String id)
id
- The id of the StatusMethod Detail |
public void setId(java.lang.String id)
setId
in interface ProcessMediationObject
id
- the Id of this ProcessMediationObjectpublic void setLabel(java.lang.String label)
setLabel
in interface ProcessMediationObject
label
- the label of this ProcessMediationObjectpublic void setDescription(java.lang.String description)
setDescription
in interface ProcessMediationObject
description
- the description of this ProcessMediationObjectpublic void setACL(com.oakgrovesystems.reactor.processMediation.ACL acl)
setACL
in interface ProcessMediationObject
acl
- the acl of this ProcessMediationObjectpublic void setScope(boolean availableToEntireSubtree)
availableToEntireSubtree
- true if the Status can be added to the current statuses of any
Process in the subtree of the Process with which it is associated.
false if it can only be added to the current statuses of the Process
with which it is associated.public java.lang.String getId()
getId
in interface ProcessMediationObject
public java.lang.String getLabel()
getLabel
in interface ProcessMediationObject
public java.lang.String getDescription()
getDescription
in interface ProcessMediationObject
public com.oakgrovesystems.reactor.processMediation.ACL getACL()
getACL
in interface ProcessMediationObject
public boolean getScope()
public void setProcess(com.oakgrovesystems.reactor.ReactorObjectId id)
setProcess
in interface ProcessAssociatedObject
id
- The id of the Process with which this ProcessAssociatedObject
should be associated.public com.oakgrovesystems.reactor.ReactorObjectId getProcess()
getProcess
in interface ProcessAssociatedObject
public java.lang.String getMetaDataString()
public void setMetaDataString(java.lang.String s)
public java.lang.String getMetaDataValue(java.lang.String key)
public void setMetaDataKeyValue(java.lang.String key, java.lang.String value)
public com.oakgrovesystems.reactor.processMediation.ProcessMediationObject copy()
copy
in interface ProcessMediationObject
public boolean sameAs(java.lang.Object o)
o
- the Status to compare for content equality
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |