Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / entities / Group.java
package com.example.cosmos_serversb.entities;

import com.sun.imageio.plugins.common.SingleTileRenderedImage;

import java.util.ArrayList;
import com.example.cosmos_serversb.entities.*;

public class Group {
    private String gId, uri, name;
    //private ArrayList<User> members;
    //private ArrayList<Request> requests;


    private Group(){

    }

    public Group(String gId, String uri, String name, String uId){
        setGid(gId);
        setUri(uri);
        setName(name);
        //addMember(uId);
    }

    public void setGid(String gId){
        this.gId = gId;
    }

    public String getGid(){
        return gId;
    }

    public void setUri(String uri){
        this.uri = uri;
    }

    public String getUri(){
        return uri;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return name;
    }

    //public void addMember(String uid){
    //    members.add(uid);
    //}

    //delete member

    //public void addRequest(Request request){
    //   requests.add(request);
    //}

    //delete request








}