diff --git a/src/main/java/com/example/cosmos_serversb/entities/Group.java b/src/main/java/com/example/cosmos_serversb/entities/Group.java index 8d0bdfb..0c7f4ab 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Group.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Group.java @@ -4,7 +4,8 @@ import java.util.ArrayList; public class Group { - private Long gId; + //private Long gId; + private String gId; private String uri, name; private ArrayList members; private ArrayList requests; @@ -14,16 +15,20 @@ } public Group(String gId, String uri, String name, String uId){ - this.gId = Long.parseLong(gId); - this.uri = uri; - this.name = name; + //this.gId = Long.parseLong(gId); + setgId(gId); + setUri(uri); + setName(name); + //this.gId = gId; + //this.uri = uri; + //this.name = name; } - public Long getgId() { + public String getgId() { return gId; } - private void setgId(Long gId) { + private void setgId(String gId) { this.gId = gId; }