package cactusServer.entities; import java.net.URI; import cactusServer.entities.Account; public class Session extends URIAddressedEntity{ public Session(Account account, URI accountURI) { super(accountURI, account); } public Account getAccount() { return (Account)getBody(); } public void setAccount(Account account) { setBody(account); } public URI getAccountURI() { return getUri(); } public void setAccountURI(URI accountURI) { setUri(accountURI); } }