public class CommandRequest extends Object
Constructor and Description |
---|
CommandRequest()
Create command request.
|
CommandRequest(CommandRequest commandRequest)
Create copy of command request.
|
Modifier and Type | Method and Description |
---|---|
String |
getCardCommand()
Command to send to card.
|
CardReader |
getCardReader()
Defines that shall be used for the card commands.
|
ResourceId |
getExecutionResource()
If a dialog shall be shown during the execution of a command.
|
ResourceId |
getNegativeResource()
If a dialog shall be shown in case of a negative command response.
|
int |
getOrder()
Specifies the order of a CommandRequest/CommandResponse in the
CommandRequestList/CommandResponseList.
|
List<String> |
getPositiveAnswers()
Possible positive answers for a CommandRequest.
|
ResourceId |
getPositiveResource()
If a dialog shall be shown in case of a positive command response.
|
ResourceId |
getPreResource()
If a dialog shall be shown before sending a card command.
|
void |
setCardCommand(String cardCommand)
Command to send to card.
|
void |
setCardReader(CardReader cardReader)
Defines that shall be used for the card commands.
|
void |
setExecutionResource(ResourceId executionResource)
If a dialog shall be shown during the execution of a command.
|
void |
setNegativeResource(ResourceId negativeResource)
If a dialog shall be shown in case of a negative command response.
|
void |
setOrder(int order)
Specifies the order of a CommandRequest/CommandResponse in the
CommandRequestList/CommandResponseList.
|
void |
setPositiveResource(ResourceId positiveResource)
If a dialog shall be shown in case of a positive command response.
|
void |
setPreResource(ResourceId preResource)
If a dialog shall be shown before sending a card command.
|
public CommandRequest()
public CommandRequest(CommandRequest commandRequest)
public CardReader getCardReader()
public void setCardReader(CardReader cardReader)
public int getOrder()
public void setOrder(int order)
public String getCardCommand()
public void setCardCommand(String cardCommand)
public ResourceId getPositiveResource()
public void setPositiveResource(ResourceId positiveResource)
public ResourceId getNegativeResource()
public void setNegativeResource(ResourceId negativeResource)
public ResourceId getExecutionResource()
public void setExecutionResource(ResourceId executionResource)
public ResourceId getPreResource()
public void setPreResource(ResourceId preResource)