package cactusServer.entities; 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(); } public void setAccount(Account account) { setBody(account); } @JSONHint(ignore = true) public URI getAccountURI() { return getUri(); } public void setAccountURI(URI accountURI) { setUri(accountURI); } }