org.rometools.feed.module.base
Interface Course

All Superinterfaces:
GlobalInterface, Serializable
All Known Subinterfaces:
GoogleBase
All Known Implementing Classes:
GoogleBaseImpl

public interface Course
extends GlobalInterface

This is an interface for the GoogleBase plug in that exposes methods used for Class or Course information entry types.

Version:
$Revision: 1.2 $
Author:
Robert "kebernet" Cooper

Method Summary
 DateTimeRange getCourseDateRange()
          The timeframe a course is running.
 String getCourseNumber()
          ID code associated with a course.
 String getCourseTimes()
          Time a class is in session.
 Float getSalary()
          Salary for this position.
 String[] getSubjects()
          Topics of study for a course.
 String getUniversity()
          Name of the school at which a class is offered.
 void setCourseDateRange(DateTimeRange courseDateRange)
          The timeframe a course is running.
 void setCourseNumber(String courseNumber)
          ID code associated with a course.
 void setCourseTimes(String courseTimes)
          Time a class is in session.
 void setSalary(Float salary)
          Salary for this position.
 void setSubjects(String[] subject)
          Topics of study for a course.
 void setUniversity(String university)
          Name of the school at which a class is offered.
 
Methods inherited from interface org.rometools.feed.module.base.GlobalInterface
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
 

Method Detail

setCourseDateRange

void setCourseDateRange(DateTimeRange courseDateRange)
The timeframe a course is running.
course_date_range
Details Date and time range a class is in session, in ISO 8601. Two sub-attributes are included in course_date_range attribute.
  • start = Start date and time of a trip in format YYYY-MM-DDThh:mm:ss
  • end = End date and time of a trip in format YYYY-MM-DDThh:mm:ss
Example <g:course_date_range>
<g:start>2005-12-20T09:30:01</g:start>
<g:end>2005-12-29T10:30:59</g:end>
</g:course_date_range>
Attribute of Course schedules
Content type dateTimeRange

Parameters:
courseDateRange - The timeframe a course is running

getCourseDateRange

DateTimeRange getCourseDateRange()
The timeframe a course is running.
course_date_range
Details Date and time range a class is in session, in ISO 8601. Two sub-attributes are included in course_date_range attribute.
  • start = Start date and time of a trip in format YYYY-MM-DDThh:mm:ss
  • end = End date and time of a trip in format YYYY-MM-DDThh:mm:ss
Example <g:course_date_range>
<g:start>2005-12-20T09:30:01</g:start>
<g:end>2005-12-29T10:30:59</g:end>
</g:course_date_range>
Attribute of Course schedules
Content type dateTimeRange

Returns:
The timeframe a course is running

setCourseNumber

void setCourseNumber(String courseNumber)
ID code associated with a course.
course_number
Details ID code associated with a course
Example <g:course_number>HIST-90A</g:course_number>
Attribute of Course schedules
Content type string

Parameters:
courseNumber - ID code associated with a course

getCourseNumber

String getCourseNumber()
ID code associated with a course.
course_number
Details ID code associated with a course
Example <g:course_number>HIST-90A</g:course_number>
Attribute of Course schedules
Content type string

Returns:
ID code associated with a course

setCourseTimes

void setCourseTimes(String courseTimes)
Time a class is in session.
course_times
Details Time a class is in session.
Example <g:course_times>MWF 08:30 - 09:45</g:course_times>
Attribute of Course schedules
Content type string

Parameters:
courseTimes - Time a class is in session

getCourseTimes

String getCourseTimes()
Time a class is in session.
course_times
Details Time a class is in session.
Example <g:course_times>MWF 08:30 - 09:45</g:course_times>
Attribute of Course schedules
Content type string

Returns:
Time a class is in session

setSalary

void setSalary(Float salary)
Salary for this position.
salary
Details Salary for this position. Non-numeric values such as "$" symbols are not acceptable.
Example <g:salary>55000</g:salary>
Attribute of Jobs
Content type float

Parameters:
salary - Salary for this position

getSalary

Float getSalary()
Salary for this position.
salary
Details Salary for this position. Non-numeric values such as "$" symbols are not acceptable.
Example <g:salary>55000</g:salary>
Attribute of Jobs
Content type float

Returns:
Salary for this position

setSubjects

void setSubjects(String[] subject)
Topics of study for a course.
subject
Details Topic of study for a course.
Example <g:subject>Trigonometry</g:subject>
Attribute of Course schedules
Content type string

Parameters:
subject - Topics of study for a course

getSubjects

String[] getSubjects()
Topics of study for a course.
subject
Details Topic of study for a course.
Example <g:subject>Trigonometry</g:subject>
Attribute of Course schedules
Content type string

Returns:
Topics of study for a course

setUniversity

void setUniversity(String university)
Name of the school at which a class is offered.
university
Details Name of the school a class is offered at.
Example <g:university>Stanford</g:university>
Attribute of Course schedules
Content type string

Parameters:
university - Name of the school at which a class is offered.

getUniversity

String getUniversity()
Name of the school at which a class is offered.
university
Details Name of the school a class is offered at.
Example <g:university>Stanford</g:university>
Attribute of Course schedules
Content type string

Returns:
Name of the school at which a class is offered.


Copyright © 2013 ROME Project. All Rights Reserved.