ca.macewan.ims.enterprise
Class InstitutionRole

java.lang.Object
  extended byca.macewan.ims.enterprise.InstitutionRole

public class InstitutionRole
extends Object

Represents an "institution role" element.

Version:
0.1
Author:
Erwin Veugelers
See Also:
IMS Enterprise Specification

Field Summary
static String INSTITUTIONROLETYPE_ADMINISTRATOR
           
static String INSTITUTIONROLETYPE_ALUMNI
           
static String[] INSTITUTIONROLETYPE_ENUM
           
static String INSTITUTIONROLETYPE_FACULTY
           
static String INSTITUTIONROLETYPE_GUEST
           
static String INSTITUTIONROLETYPE_INSTRUCTOR
           
static String INSTITUTIONROLETYPE_LEARNER
           
static String INSTITUTIONROLETYPE_MEMBER
           
static String INSTITUTIONROLETYPE_MENTOR
           
static String INSTITUTIONROLETYPE_OBSERVER
           
static String INSTITUTIONROLETYPE_OTHER
           
static String INSTITUTIONROLETYPE_PROSPECTIVESTUDENT
           
static String INSTITUTIONROLETYPE_STAFF
           
static String INSTITUTIONROLETYPE_STUDENT
           
static String[] PRIMARYROLE_ENUM
           
static String PRIMARYROLE_NO
           
static String PRIMARYROLE_YES
           
 
Constructor Summary
InstitutionRole()
           
InstitutionRole(String prole, String iroletp)
           
 
Method Summary
 String getInstitutionRoleType()
           
 String getPrimaryRole()
           
 void setInstitutionRoleType(String iroletp)
           
 void setPrimaryRole(String prole)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIMARYROLE_YES

public static final String PRIMARYROLE_YES
See Also:
Constant Field Values

PRIMARYROLE_NO

public static final String PRIMARYROLE_NO
See Also:
Constant Field Values

PRIMARYROLE_ENUM

public static final String[] PRIMARYROLE_ENUM

INSTITUTIONROLETYPE_STUDENT

public static final String INSTITUTIONROLETYPE_STUDENT
See Also:
Constant Field Values

INSTITUTIONROLETYPE_FACULTY

public static final String INSTITUTIONROLETYPE_FACULTY
See Also:
Constant Field Values

INSTITUTIONROLETYPE_MEMBER

public static final String INSTITUTIONROLETYPE_MEMBER
See Also:
Constant Field Values

INSTITUTIONROLETYPE_LEARNER

public static final String INSTITUTIONROLETYPE_LEARNER
See Also:
Constant Field Values

INSTITUTIONROLETYPE_INSTRUCTOR

public static final String INSTITUTIONROLETYPE_INSTRUCTOR
See Also:
Constant Field Values

INSTITUTIONROLETYPE_MENTOR

public static final String INSTITUTIONROLETYPE_MENTOR
See Also:
Constant Field Values

INSTITUTIONROLETYPE_STAFF

public static final String INSTITUTIONROLETYPE_STAFF
See Also:
Constant Field Values

INSTITUTIONROLETYPE_ALUMNI

public static final String INSTITUTIONROLETYPE_ALUMNI
See Also:
Constant Field Values

INSTITUTIONROLETYPE_PROSPECTIVESTUDENT

public static final String INSTITUTIONROLETYPE_PROSPECTIVESTUDENT
See Also:
Constant Field Values

INSTITUTIONROLETYPE_GUEST

public static final String INSTITUTIONROLETYPE_GUEST
See Also:
Constant Field Values

INSTITUTIONROLETYPE_OTHER

public static final String INSTITUTIONROLETYPE_OTHER
See Also:
Constant Field Values

INSTITUTIONROLETYPE_ADMINISTRATOR

public static final String INSTITUTIONROLETYPE_ADMINISTRATOR
See Also:
Constant Field Values

INSTITUTIONROLETYPE_OBSERVER

public static final String INSTITUTIONROLETYPE_OBSERVER
See Also:
Constant Field Values

INSTITUTIONROLETYPE_ENUM

public static final String[] INSTITUTIONROLETYPE_ENUM
Constructor Detail

InstitutionRole

public InstitutionRole()

InstitutionRole

public InstitutionRole(String prole,
                       String iroletp)
Method Detail

setPrimaryRole

public void setPrimaryRole(String prole)

getPrimaryRole

public String getPrimaryRole()

setInstitutionRoleType

public void setInstitutionRoleType(String iroletp)

getInstitutionRoleType

public String getInstitutionRoleType()

validate

public void validate()
              throws IMSEnterpriseException
Throws:
IMSEnterpriseException