diff --git a/src/main/java/cactusServer/entities/Session.java b/src/main/java/cactusServer/entities/Session.java index 6c99857..5e4b171 100644 --- a/src/main/java/cactusServer/entities/Session.java +++ b/src/main/java/cactusServer/entities/Session.java @@ -3,13 +3,12 @@ import java.net.URI; import cactusServer.entities.Account; -import net.arnx.jsonic.JSONHint; public class Session extends URIAddressedEntity{ public Session(Account account, URI accountURI) { super(accountURI, account); } - @JSONHint(ignore = true) + public Account getAccount() { return (Account)getBody(); } @@ -17,7 +16,7 @@ public void setAccount(Account account) { setBody(account); } - @JSONHint(ignore = true) + public URI getAccountURI() { return getUri(); }