Class OperationResult
- java.lang.Object
-
- com.opencloud.slee.resources.sis.script.in.interceptors.Operation
-
- com.opencloud.slee.resources.sis.script.in.interceptors.OperationResult
-
public final class OperationResult extends Operation
An operation invoke result sent or received by an interceptor extension component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.sis.script.in.interceptors.Operation
Operation.Type
-
-
Constructor Summary
Constructors Constructor Description OperationResult(OperationResultEvent replacing, TcapOperation op, Object result)Create a new operation representing an invoke result that replaces an existing invoke result.OperationResult(OperationResultEvent replacing, Object result)Create a new operation representing an invoke result that replaces an existing invoke result of the same type.OperationResult(TcapOperation op, int invokeID, Object result, boolean last)Create a new operation representing an invoke result.OperationResult(OperationResult replacing, TcapOperation op, Object result)Create a new operation representing an invoke result that replaces an existing invoke result.OperationResult(OperationResult replacing, Object result)Create a new operation representing an invoke result that replaces an existing invoke result of the same type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get a descriptive name for this operation.ObjectgetResult()Get the operation argument.Operation.TypegetType()Get the type of operation.booleanisLast()Determine if this is the last result for the operation.StringtoString()-
Methods inherited from class com.opencloud.slee.resources.sis.script.in.interceptors.Operation
getInvokeID, getOperation
-
-
-
-
Constructor Detail
-
OperationResult
public OperationResult(TcapOperation op, int invokeID, Object result, boolean last)
Create a new operation representing an invoke result.- Parameters:
op- operation metadata object that identifies the operation.invokeID- the invoke ID for the operation.result- the operation result, ornullif there is no result.last- boolean flag indicating if this is the last result for the operation.
-
OperationResult
public OperationResult(OperationResultEvent replacing, TcapOperation op, Object result)
Create a new operation representing an invoke result that replaces an existing invoke result. The new operation will inherit the invoke ID and last parameters of the result it is replacing.- Parameters:
replacing- the operation result event that the new result is to replace.op- operation metadata object that identifies the result operation.result- the new result argument, ornullif there is no argument.
-
OperationResult
public OperationResult(OperationResult replacing, Object result)
Create a new operation representing an invoke result that replaces an existing invoke result of the same type. This method effectively just replaces the existing operation's argument. The new operation will inherit the operation type, invoke ID, and last parameters of the result it is replacing.- Parameters:
replacing- the operation result that the new result is to replace.result- the new result argument, ornullif there is no argument.
-
OperationResult
public OperationResult(OperationResult replacing, TcapOperation op, Object result)
Create a new operation representing an invoke result that replaces an existing invoke result. The new operation will inherit the invoke ID and last parameters of the result it is replacing.- Parameters:
replacing- the operation result that the new result is to replace.op- operation metadata object that identifies the result operation.result- the new result argument, ornullif there is no argument.
-
OperationResult
public OperationResult(OperationResultEvent replacing, Object result)
Create a new operation representing an invoke result that replaces an existing invoke result of the same type. This method effectively just replaces the existing operation's argument. The new operation will inherit the operation type, invoke ID, and last parameters of the result it is replacing.- Parameters:
replacing- the operation result event that the new result is to replace.result- the new result argument, ornullif there is no argument.
-
-
Method Detail
-
getType
public Operation.Type getType()
Description copied from class:OperationGet the type of operation.
-
getResult
public Object getResult()
Get the operation argument.- Returns:
- the operation argument, or
nullif there is no argument.
-
isLast
public boolean isLast()
Determine if this is the last result for the operation.- Returns:
trueif this is the last result for the operation,falseotherwise.
-
getName
public String getName()
Description copied from class:OperationGet a descriptive name for this operation.
-
-