org.oscelot.webct.dao
Class TermVO

java.lang.Object
  extended byorg.oscelot.webct.dao.TermVO

public class TermVO
extends java.lang.Object

The TermVO is a value object that contains details about a term.

Version:
2.5 (31-Oct-11)
Author:
Stephen P Vickers

Field Summary
static int SECTION_AVAILABLE
           
static int SECTION_AVAILABLE_AFTER_TERM_STARTS
           
static int SECTION_AVAILABLE_BEFORE_TERM_ENDS
           
static int SECTION_AVAILABLE_BETWEEN_TERM_DATES
           
static int SECTION_NOT_AVAILABLE
           
 
Method Summary
 int getAvailabilityToLearners()
          Get the section availablility for students and auditors
 int getAvailabilityToSectionDesigners()
          Get the section availablility for section designers
 int getAvailabilityToSectionInstructors()
          Get the section availablility for section instructors
 int getAvailabilityToTeachingAssistants()
          Get the section availablility for teaching assistants
 java.lang.String getDataSource()
          Get the data source
 java.lang.Long getEndDateTime()
          Get the end date (unix epoch time in milliseconds)
 java.lang.String getFullDescription()
          Get the full description
 java.lang.String getImsId()
          Get the IMS ID
 java.lang.String getImsSource()
          Get the IMS source
 java.lang.Long getInstitutionLCId()
          Get the learning context ID of the institution to which the term belongs
 java.lang.String getLongDescription()
          Get the long description
 java.lang.String getName()
          Get the term name
 java.lang.Long getStartDateTime()
          Get the start date time (unix epoch time in milliseconds)
 java.lang.Long getTermId()
          Get the term ID
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SECTION_AVAILABLE

public static final int SECTION_AVAILABLE
See Also:
Constant Field Values

SECTION_NOT_AVAILABLE

public static final int SECTION_NOT_AVAILABLE
See Also:
Constant Field Values

SECTION_AVAILABLE_AFTER_TERM_STARTS

public static final int SECTION_AVAILABLE_AFTER_TERM_STARTS
See Also:
Constant Field Values

SECTION_AVAILABLE_BEFORE_TERM_ENDS

public static final int SECTION_AVAILABLE_BEFORE_TERM_ENDS
See Also:
Constant Field Values

SECTION_AVAILABLE_BETWEEN_TERM_DATES

public static final int SECTION_AVAILABLE_BETWEEN_TERM_DATES
See Also:
Constant Field Values
Method Detail

getTermId

public java.lang.Long getTermId()
Get the term ID

Returns:
Long - term ID

getName

public java.lang.String getName()
Get the term name

Returns:
String - term name

getImsId

public java.lang.String getImsId()
Get the IMS ID

Returns:
String - IMS ID

getImsSource

public java.lang.String getImsSource()
Get the IMS source

Returns:
String - IMS source

getDataSource

public java.lang.String getDataSource()
Get the data source

Returns:
String - data source

getInstitutionLCId

public java.lang.Long getInstitutionLCId()
Get the learning context ID of the institution to which the term belongs

Returns:
Long - learning context ID

getStartDateTime

public java.lang.Long getStartDateTime()
Get the start date time (unix epoch time in milliseconds)

Returns:
Long - start date/time

getEndDateTime

public java.lang.Long getEndDateTime()
Get the end date (unix epoch time in milliseconds)

Returns:
Long - end date/time

getLongDescription

public java.lang.String getLongDescription()
Get the long description

Returns:
String - long description

getFullDescription

public java.lang.String getFullDescription()
Get the full description

Returns:
String - full description

getAvailabilityToLearners

public int getAvailabilityToLearners()
Get the section availablility for students and auditors

Returns:
int - section availability constant

getAvailabilityToSectionDesigners

public int getAvailabilityToSectionDesigners()
Get the section availablility for section designers

Returns:
int - section availability constant

getAvailabilityToSectionInstructors

public int getAvailabilityToSectionInstructors()
Get the section availablility for section instructors

Returns:
int - section availability constant

getAvailabilityToTeachingAssistants

public int getAvailabilityToTeachingAssistants()
Get the section availablility for teaching assistants

Returns:
int - section availability constant

toString

public java.lang.String toString()