Package com.six.timapi
Class CommandRequest
- java.lang.Object
-
- com.six.timapi.CommandRequest
-
public class CommandRequest extends Object
Command request to send to card.
-
-
Constructor Summary
Constructors Constructor Description CommandRequest()Create command request.CommandRequest(CommandRequest commandRequest)Create copy of command request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCardCommand()Command to send to card.CardReadergetCardReader()Defines that shall be used for the card commands.ResourceIdgetExecutionResource()If a dialog shall be shown during the execution of a command.ResourceIdgetNegativeResource()If a dialog shall be shown in case of a negative command response.intgetOrder()Specifies the order of a CommandRequest/CommandResponse in the CommandRequestList/CommandResponseList.List<String>getPositiveAnswers()Possible positive answers for a CommandRequest.ResourceIdgetPositiveResource()If a dialog shall be shown in case of a positive command response.ResourceIdgetPreResource()If a dialog shall be shown before sending a card command.voidsetCardCommand(String cardCommand)Command to send to card.voidsetCardReader(CardReader cardReader)Defines that shall be used for the card commands.voidsetExecutionResource(ResourceId executionResource)If a dialog shall be shown during the execution of a command.voidsetNegativeResource(ResourceId negativeResource)If a dialog shall be shown in case of a negative command response.voidsetOrder(int order)Specifies the order of a CommandRequest/CommandResponse in the CommandRequestList/CommandResponseList.voidsetPositiveResource(ResourceId positiveResource)If a dialog shall be shown in case of a positive command response.voidsetPreResource(ResourceId preResource)If a dialog shall be shown before sending a card command.
-
-
-
Constructor Detail
-
CommandRequest
public CommandRequest()
Create command request.
-
CommandRequest
public CommandRequest(CommandRequest commandRequest)
Create copy of command request.
-
-
Method Detail
-
getCardReader
public CardReader getCardReader()
Defines that shall be used for the card commands.
-
setCardReader
public void setCardReader(CardReader cardReader)
Defines that shall be used for the card commands.
-
getOrder
public int getOrder()
Specifies the order of a CommandRequest/CommandResponse in the CommandRequestList/CommandResponseList.
-
setOrder
public void setOrder(int order)
Specifies the order of a CommandRequest/CommandResponse in the CommandRequestList/CommandResponseList.
-
getCardCommand
public String getCardCommand()
Command to send to card.
-
setCardCommand
public void setCardCommand(String cardCommand)
Command to send to card.
-
getPositiveResource
public ResourceId getPositiveResource()
If a dialog shall be shown in case of a positive command response.
-
setPositiveResource
public void setPositiveResource(ResourceId positiveResource)
If a dialog shall be shown in case of a positive command response.
-
getNegativeResource
public ResourceId getNegativeResource()
If a dialog shall be shown in case of a negative command response.
-
setNegativeResource
public void setNegativeResource(ResourceId negativeResource)
If a dialog shall be shown in case of a negative command response.
-
getExecutionResource
public ResourceId getExecutionResource()
If a dialog shall be shown during the execution of a command.
-
setExecutionResource
public void setExecutionResource(ResourceId executionResource)
If a dialog shall be shown during the execution of a command.
-
getPreResource
public ResourceId getPreResource()
If a dialog shall be shown before sending a card command.
-
setPreResource
public void setPreResource(ResourceId preResource)
If a dialog shall be shown before sending a card command.
-
-