Newer
Older
CactusServer / src / main / java / cactusServer / entities / Session.java
y-ota on 31 May 2018 510 bytes SessionをEntity仕様に変更
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);
	}
}