diff --git a/app/src/main/java/org/ntlab/irisclient/entities/RoomJson.java b/app/src/main/java/org/ntlab/irisclient/entities/RoomJson.java index 959eb9e..02743a0 100644 --- a/app/src/main/java/org/ntlab/irisclient/entities/RoomJson.java +++ b/app/src/main/java/org/ntlab/irisclient/entities/RoomJson.java @@ -1,19 +1,19 @@ package org.ntlab.irisclient.entities; -import android.provider.Settings; import org.ntlab.irisclient.models.Member; -import org.ntlab.irisclient.models.Room; + import java.util.ArrayList; -import java.util.List; +import java.util.Collection; public class RoomJson { //フィールド private String rid; - private int state; + private Integer state; private String ownerName; - List members = new ArrayList<>(); + //List members = new ArrayList<>(); + //private ArrayList members = new ArrayList<>(); //-------------------------------------------------------------- public RoomJson(){ @@ -23,10 +23,28 @@ //getter public String getRid() {return this.rid;} - public int getState() {return this.state;} + public Integer getState() {return this.state;} public String getOwnerName() {return this.ownerName;} - public List getMembers() {return this.members;} + //public Collection getMembers() {return this.members;} + + //-------------------------------------------------------------- + //setter + public void setRid(String rid) { + this.rid = rid; + } + + public void setState(Integer state) { + this.state = state; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + +// public void setMembers(ArrayList members){ +// this.members = members; +// } } \ No newline at end of file