Class CommandRequest


  • public class CommandRequest
    extends Object
    Command request to send to card.
    • 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.
      • getPositiveAnswers

        public List<String> getPositiveAnswers()
        Possible positive answers for a CommandRequest.