|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javawebparts.misc.chain.ChainContext
This class represents a ChainContext.
| Field Summary | |
private java.util.Map |
attributes
The collection of attributes in this context instance. |
private java.lang.String |
catalogID
The ID of the Catalog the currently executing Chain that this context is being used by belongs to. |
private java.lang.String |
chainID
The ID of the Chain that is currently executing that this context is being used by. |
private Result |
result
The result of the Chain execution that this context is being used by. |
| Constructor Summary | |
ChainContext()
|
|
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String inKey)
Gets an attribute from the context. |
java.lang.String |
getCatalogId()
Getter for the ID of the Catalog this context is being used to service. |
java.lang.String |
getChainId()
Getter for the ID of the Chain this context is being used to service. |
Result |
getResult()
Gets the result of the Chain execution that this context is being used by. |
void |
setAttribute(java.lang.String inKey,
java.lang.Object inAttribute)
Sets an attribute in the context. |
void |
setCatalogId(java.lang.String inCatalogID)
Setter for the ID of the Catalog this context is being used to service. |
void |
setChainId(java.lang.String inChainID)
Setter for the ID of the Chain this context is being used to service. |
void |
setResult(Result inResult)
Sets the result of the Chain execution that this context is being used by. |
java.lang.String |
toString()
Overridden toString method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.Map attributes
private java.lang.String catalogID
private java.lang.String chainID
private Result result
| Constructor Detail |
public ChainContext()
| Method Detail |
public void setAttribute(java.lang.String inKey,
java.lang.Object inAttribute)
inKey - The key of the attribute to set.inAttribute - The value of the attribute to set.public java.lang.Object getAttribute(java.lang.String inKey)
inKey - The key of the attribute to get.
public void setCatalogId(java.lang.String inCatalogID)
inCatalogID - The ID of the Catalog this context is being used
to service.public java.lang.String getCatalogId()
public void setChainId(java.lang.String inChainID)
inChainID - The ID of the Chain this Context is being used to service.public java.lang.String getChainId()
public void setResult(Result inResult)
inResult - The Result object instance of the last Command (or
subchain) that executed.public Result getResult()
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 | |||||||||