Newer
Older
CactusServer / src / main / java / cactusServer / entities / IDAddressedEntity.java
package cactusServer.entities;

public class IDAddressedEntity extends AddressedEntity{
	private String id;

	private IDAddressedEntity() {
		// JSONDecode時の呼び出し用
	}
	
	public IDAddressedEntity(String id, Entity body) {
		super(body);
		setId(id);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}