public class ResearchGroup
extends java.lang.Object
Constructor and Description |
---|
ResearchGroup()
default constructor
|
ResearchGroup(int researchGroupId,
java.lang.String name)
constructor
|
ResearchGroup(java.lang.String name)
constructor with name one
|
Modifier and Type | Method and Description |
---|---|
void |
addMember(User member) |
int |
getId() |
User |
getMember(int i) |
java.util.ArrayList<User> |
getMembers() |
java.lang.String |
getName() |
void |
setId(int researchGroupId) |
void |
setMembers(java.util.ArrayList<User> members) |
void |
setName(java.lang.String name) |
public ResearchGroup()
public ResearchGroup(java.lang.String name)
public ResearchGroup(int researchGroupId, java.lang.String name)
public int getId()
public void setId(int researchGroupId)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.ArrayList<User> getMembers()
public void setMembers(java.util.ArrayList<User> members)
public User getMember(int i)
public void addMember(User member)