com.sun.syndication.feed.module.base
Interface Course

All Superinterfaces:
GlobalInterface, java.io.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.
 java.lang.String getCourseNumber()
          ID code associated with a course.
 java.lang.String getCourseTimes()
          Time a class is in session.
 java.lang.Float getSalary()
          Salary for this position.
 java.lang.String[] getSubjects()
          Topics of study for a course.
 java.lang.String getUniversity()
          Name of the school at which a class is offered.
 void setCourseDateRange(DateTimeRange courseDateRange)
          The timeframe a course is running.
 void setCourseNumber(java.lang.String courseNumber)
          ID code associated with a course.
 void setCourseTimes(java.lang.String courseTimes)
          Time a class is in session.
 void setSalary(java.lang.Float salary)
          Salary for this position.
 void setSubjects(java.lang.String[] subject)
          Topics of study for a course.
 void setUniversity(java.lang.String university)
          Name of the school at which a class is offered.
 
Methods inherited from interface com.sun.syndication.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(java.lang.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

java.lang.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(java.lang.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

java.lang.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(java.lang.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

java.lang.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(java.lang.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

java.lang.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(java.lang.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

java.lang.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 © 2006-2009. All Rights Reserved.