com.codemonster.surinam.export.service.command
Class MappedCommand
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
com.codemonster.surinam.export.service.command.MappedCommand
- All Implemented Interfaces:
- RawCommand, Serializable, Cloneable, Map
- Direct Known Subclasses:
- RunnableMappedCommand
public class MappedCommand
- extends HashMap
- implements RawCommand
This is a generic command object that designates a contract to be found and an operation that should
be invoked, along with the parameters to be passed along for the operation. This is useful for jumping
over the layer of isolation enforced by the Service Block.
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
MappedCommand
public MappedCommand()
getContractName
public String getContractName()
throws IllegalStateException
- Throws:
IllegalStateException
setContractName
public void setContractName(String contractName)
getOperationName
public String getOperationName()
throws IllegalStateException
- Throws:
IllegalStateException
getOperationCode
public int getOperationCode()
setOperationCode
public void setOperationCode(int operationCode)
setOperationName
public void setOperationName(String operationName)
getParameters
public Object[] getParameters()
throws IllegalStateException
- Throws:
IllegalStateException
setParameters
public void setParameters(Object[] parameters)
Copyright © 2010. All Rights Reserved.