public class GroupType extends Model
Constructor and Description |
---|
GroupType(long id,
String groupTypeName,
long courseCode,
int mandatory,
int multiple,
long openTime)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getCourseCode()
Gets course code to which the group type is related to
|
String |
getGroupTypeName()
Gets group type name
|
int |
getMandatory()
Indicates if the enrollment is mandatory
|
int |
getMultiple()
Indicates if a multiple enrollment is allowed
|
long |
getOpenTime()
Gets the date when the groups of this kind will be automatically opened, in case, it exits
|
Object |
getProperty(int param) |
int |
getPropertyCount() |
void |
getPropertyInfo(int param,
Hashtable arg1,
PropertyInfo propertyInfo) |
boolean |
isMandatory()
Indicates if the enrollment in this group is mandatory or not
|
boolean |
isMultiple()
Indicates if a multiple enrollment is allowed
|
void |
setProperty(int param,
Object obj) |
String |
toString() |
public GroupType(long id, String groupTypeName, long courseCode, int mandatory, int multiple, long openTime)
id
- Group code.groupTypeName
- Group type name.mandatory
- Indicates if the enrollment in this group is mandatory or notmultiple
- Indicates if a multiple enrollment is allowedpublic 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 getGroupTypeName()
public boolean isMandatory()
public boolean isMultiple()
public long getCourseCode()
public int getMandatory()
public int getMultiple()
public long getOpenTime()