public class Group extends Model
Constructor and Description |
---|
Group(long id,
String groupName,
long groupTypeCode,
int maxStudents,
int open,
int students,
int fileZones,
int member)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
existsMaxStudents()
Indicates if there is a limit of students for this group
|
boolean |
exitsDocumentsArea()
Indicates if the group has an area of documents and of shared documents related to or not
|
int |
getCurrentStudents()
Gets current student number enrolled in this group
|
int |
getDocumentsArea()
Indicates if the group has an area of documents and of shared documents related to or not
|
String |
getGroupName()
Gets group name
|
long |
getGroupTypeCode()
Gets group type code to which the group belongs
|
int |
getMaxStudents()
Gets maximum number of students allowed in this group
|
int |
getMember()
Indicates if the logged user is a member of this group
|
int |
getOpen()
Indicates if the enrollment in this group is already allowed
|
Object |
getProperty(int param) |
int |
getPropertyCount() |
void |
getPropertyInfo(int param,
Hashtable arg1,
PropertyInfo propertyInfo) |
int |
getVacancies()
Gets the number of available vacancies in this group
|
int |
hashCode() |
boolean |
isMember()
Indicates if the logged user is a member of this group
|
boolean |
isOpen()
Indicates if the enrollment in this group is already allowed
|
void |
setMember(int member)
Set that the user belongs to this group or not
|
void |
setOpen(int open) |
void |
setProperty(int param,
Object obj) |
String |
toString() |
public Group(long id, String groupName, long groupTypeCode, int maxStudents, int open, int students, int fileZones, int member)
id
- Group code.groupName
- Group name.maxStudents
- Maximum number of students allowed in this groupstudents
- Current number of students that belong to this groupopen
- Indicates whether the enrollment to this group is allowed or notfileZones
- Indicates whether the group has an area of documents related to or notmember
- Indicates if the logged user is a member of this grouppublic Object getProperty(int param)
public int getPropertyCount()
public void getPropertyInfo(int param, Hashtable arg1, PropertyInfo propertyInfo)
public void setProperty(int param, Object obj)
public String getGroupName()
public long getGroupTypeCode()
public int getMaxStudents()
public boolean existsMaxStudents()
public int getCurrentStudents()
public int getVacancies()
public boolean isOpen()
public int getOpen()
public void setOpen(int open)
public boolean exitsDocumentsArea()
public int getDocumentsArea()
public boolean isMember()
public int getMember()
public void setMember(int member)