public class Group extends Model
Modifier and Type | Field and Description |
---|---|
private int |
fileZones
Indicates whether the group has an area of documents related to or not
|
private String |
groupName
Group name.
|
private long |
groupTypeCode
Group type code to which the group belongs
|
private int |
maxStudents
Maximum number of students allowed in this group
|
private int |
member
Indicates if the logged user is a member of this group
|
private int |
open
Indicates whether the enrollment to this group is allowed or not
|
private static org.ksoap2.serialization.PropertyInfo |
PI_fileZones |
private static org.ksoap2.serialization.PropertyInfo |
PI_groupName |
private static org.ksoap2.serialization.PropertyInfo |
PI_groupTypeCode |
private static org.ksoap2.serialization.PropertyInfo |
PI_id |
private static org.ksoap2.serialization.PropertyInfo |
PI_maxStudents |
private static org.ksoap2.serialization.PropertyInfo |
PI_member |
private static org.ksoap2.serialization.PropertyInfo |
PI_open |
private static org.ksoap2.serialization.PropertyInfo[] |
PI_PROP_ARRAY |
private static org.ksoap2.serialization.PropertyInfo |
PI_students |
private int |
students
Current number of students that belong to this group
|
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,
org.ksoap2.serialization.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() |
private final String groupName
private long groupTypeCode
private int maxStudents
private int students
private int open
private int fileZones
private int member
private static final org.ksoap2.serialization.PropertyInfo PI_id
private static final org.ksoap2.serialization.PropertyInfo PI_groupName
private static final org.ksoap2.serialization.PropertyInfo PI_maxStudents
private static final org.ksoap2.serialization.PropertyInfo PI_students
private static final org.ksoap2.serialization.PropertyInfo PI_open
private static final org.ksoap2.serialization.PropertyInfo PI_fileZones
private static final org.ksoap2.serialization.PropertyInfo PI_member
private static final org.ksoap2.serialization.PropertyInfo PI_groupTypeCode
private static final org.ksoap2.serialization.PropertyInfo[] PI_PROP_ARRAY
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, org.ksoap2.serialization.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)