org.jasig.portlet.courses.model.xml.personal
Class Course

java.lang.Object
  extended by org.jasig.portlet.courses.model.xml.personal.CourseWrapper
      extended by org.jasig.portlet.courses.model.xml.personal.Course
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public class Course
extends CourseWrapper
implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for course complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="course">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="school" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="course-meeting" type="{https://source.jasig.org/schemas/portlet/courses/common}course-meeting" maxOccurs="unbounded" minOccurs="0"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="instructor" type="{https://source.jasig.org/schemas/portlet/courses/common}instructor" maxOccurs="unbounded" minOccurs="0"/>
         <element name="grade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="credits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="course-update" type="{https://source.jasig.org/schemas/portlet/courses/courses-by-term}course-update" maxOccurs="unbounded" minOccurs="0"/>
         <element name="course-textbook" type="{https://source.jasig.org/schemas/portlet/courses/courses-by-term}course-textbook" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String code
           
protected  List<CourseMeeting> courseMeetings
           
protected  List<CourseTextbook> courseTextbooks
           
protected  List<CourseUpdate> courseUpdates
           
protected  Double credits
           
protected  String grade
           
protected  List<Instructor> instructors
           
protected  String school
           
protected  String subject
           
protected  String title
           
protected  String url
           
 
Constructor Summary
Course()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 String getCode()
          Gets the value of the code property.
 List<CourseMeeting> getCourseMeetings()
          Gets the value of the courseMeetings property.
 List<CourseTextbook> getCourseTextbooks()
          Gets the value of the courseTextbooks property.
 List<CourseUpdate> getCourseUpdates()
          Gets the value of the courseUpdates property.
 Double getCredits()
          Gets the value of the credits property.
 String getGrade()
          Gets the value of the grade property.
 List<Instructor> getInstructors()
          Gets the value of the instructors property.
 String getSchool()
          Gets the value of the school property.
 String getSubject()
          Gets the value of the subject property.
 String getTitle()
          Gets the value of the title property.
 String getUrl()
          Gets the value of the url property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCode(String value)
          Sets the value of the code property.
 void setCredits(Double value)
          Sets the value of the credits property.
 void setGrade(String value)
          Sets the value of the grade property.
 void setSchool(String value)
          Sets the value of the school property.
 void setSubject(String value)
          Sets the value of the subject property.
 void setTitle(String value)
          Sets the value of the title property.
 void setUrl(String value)
          Sets the value of the url property.
 String toString()
           
 
Methods inherited from class org.jasig.portlet.courses.model.xml.personal.CourseWrapper
getNewUpdateCount
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

title

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected String title

code

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected String code

school

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected String school

subject

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected String subject

courseMeetings

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected List<CourseMeeting> courseMeetings

url

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected String url

instructors

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected List<Instructor> instructors

grade

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected String grade

credits

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected Double credits

courseUpdates

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected List<CourseUpdate> courseUpdates

courseTextbooks

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
protected List<CourseTextbook> courseTextbooks
Constructor Detail

Course

public Course()
Method Detail

getTitle

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getCode

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

getSchool

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String getSchool()
Gets the value of the school property.

Returns:
possible object is String

setSchool

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setSchool(String value)
Sets the value of the school property.

Parameters:
value - allowed object is String

getSubject

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String getSubject()
Gets the value of the subject property.

Returns:
possible object is String

setSubject

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setSubject(String value)
Sets the value of the subject property.

Parameters:
value - allowed object is String

getCourseMeetings

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public List<CourseMeeting> getCourseMeetings()
Gets the value of the courseMeetings property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the courseMeetings property.

For example, to add a new item, do as follows:

    getCourseMeetings().add(newItem);
 

Objects of the following type(s) are allowed in the list CourseMeeting


getUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setUrl(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

getInstructors

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public List<Instructor> getInstructors()
Gets the value of the instructors property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the instructors property.

For example, to add a new item, do as follows:

    getInstructors().add(newItem);
 

Objects of the following type(s) are allowed in the list Instructor


getGrade

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String getGrade()
Gets the value of the grade property.

Returns:
possible object is String

setGrade

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setGrade(String value)
Sets the value of the grade property.

Parameters:
value - allowed object is String

getCredits

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public Double getCredits()
Gets the value of the credits property.

Returns:
possible object is Double

setCredits

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public void setCredits(Double value)
Sets the value of the credits property.

Parameters:
value - allowed object is Double

getCourseUpdates

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public List<CourseUpdate> getCourseUpdates()
Gets the value of the courseUpdates property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the courseUpdates property.

For example, to add a new item, do as follows:

    getCourseUpdates().add(newItem);
 

Objects of the following type(s) are allowed in the list CourseUpdate

Specified by:
getCourseUpdates in class CourseWrapper

getCourseTextbooks

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public List<CourseTextbook> getCourseTextbooks()
Gets the value of the courseTextbooks property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the courseTextbooks property.

For example, to add a new item, do as follows:

    getCourseTextbooks().add(newItem);
 

Objects of the following type(s) are allowed in the list CourseTextbook


toString

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public String toString()
Overrides:
toString in class Object

append

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                       StringBuilder buffer,
                                                       org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                             StringBuilder buffer,
                                                             org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                                                 org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                                                 Object object,
                                                 org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                               org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Jasig. All Rights Reserved.