Newer
Older
CactusServer / src / main / java / cactusServer / entities / Session.java
y-ota on 22 May 2018 575 bytes 指摘箇所を変更
  1. package cactusServer.entities;
  2.  
  3. import java.net.URI;
  4.  
  5. import cactusServer.entities.Account;
  6.  
  7. public class Session {
  8. private Account account;
  9. private URI accountURI;
  10.  
  11. public Session(Account account, URI accountURI) {
  12. this.account = account;
  13. this.accountURI = accountURI;
  14. }
  15.  
  16. public Account getAccount() {
  17. return account;
  18. }
  19.  
  20. public void setAccount(Account account) {
  21. this.account = account;
  22. }
  23.  
  24. public URI getAccountURI() {
  25. return accountURI;
  26. }
  27.  
  28. public void setAccountURI(URI accountURI) {
  29. this.accountURI = accountURI;
  30. }
  31. }