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 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.
-
-
-
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.
-
-