Class SessionContract

    • Constructor Detail

      • SessionContract

        public SessionContract()
        Empty constructor for specification of requirements while validating sessions
      • SessionContract

        public SessionContract​(ContractID newcontractID)
        Session contract constructor
        Parameters:
        newcontractID - ID of the Contract
    • Method Detail

      • getContractID

        public ContractID getContractID()
        Get the SessionContract::contractID
        Returns:
        the contractID
      • setContractID

        public void setContractID​(ContractID newcontractID)
        Set the SessionContract::contractID
        Parameters:
        newcontractID - the contractID to set
      • getSessionInterfaces

        public Map<InterfaceID,​SessionInterface> getSessionInterfaces()
        Get the SessionContract::sessionInterfaces
        Returns:
        the sessionInterfaces
      • setSessionInterfaces

        public void setSessionInterfaces​(Map<InterfaceID,​SessionInterface> newsessionInterfaces)
        Set the SessionContract::sessionInterfaces
        Parameters:
        newsessionInterfaces - the sessionInterfaces to set
      • getId

        public UUID getId()
        get id
        Returns:
        id
      • setId

        public void setId​(UUID newid)
        Set id
        Parameters:
        newid - the id