@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") 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="course-department" type="{https://source.jasig.org/schemas/portlet/courses/common}department" minOccurs="0"/>
<element name="course-meeting" type="{https://source.jasig.org/schemas/portlet/courses/common}course-meeting" maxOccurs="unbounded" minOccurs="0"/>
<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"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="course-resource" type="{https://source.jasig.org/schemas/portlet/courses/common}resource" maxOccurs="unbounded" minOccurs="0"/>
<element name="course-section" type="{https://source.jasig.org/schemas/portlet/courses/common}course-section" maxOccurs="unbounded" minOccurs="0"/>
<element name="course-additional-info" type="{https://source.jasig.org/schemas/portlet/courses/common}additional-info" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected List<AdditionalInfo> |
courseAdditionalInfos |
protected Department |
courseDepartment |
protected List<CourseMeeting> |
courseMeetings |
protected List<Resource> |
courseResources |
protected List<CourseSection> |
courseSections |
protected List<CourseTextbook> |
courseTextbooks |
protected List<CourseUpdate> |
courseUpdates |
protected Double |
credits |
protected String |
grade |
protected String |
id |
protected List<Instructor> |
instructors |
protected String |
school |
protected String |
title |
| Constructor and Description |
|---|
Course() |
| Modifier and Type | Method and Description |
|---|---|
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<AdditionalInfo> |
getCourseAdditionalInfos()
Gets the value of the courseAdditionalInfos property.
|
Department |
getCourseDepartment()
Gets the value of the courseDepartment property.
|
List<CourseMeeting> |
getCourseMeetings()
Gets the value of the courseMeetings property.
|
List<Resource> |
getCourseResources()
Gets the value of the courseResources property.
|
List<CourseSection> |
getCourseSections()
Gets the value of the courseSections 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.
|
String |
getId()
Gets the value of the id property.
|
List<Instructor> |
getInstructors()
Gets the value of the instructors property.
|
String |
getSchool()
Gets the value of the school property.
|
String |
getTitle()
Gets the value of the title 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 |
setCourseDepartment(Department value)
Sets the value of the courseDepartment property.
|
void |
setCredits(Double value)
Sets the value of the credits property.
|
void |
setGrade(String value)
Sets the value of the grade property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setSchool(String value)
Sets the value of the school property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
String |
toString() |
getNewUpdateCount@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected String title
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected String code
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected String school
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected Department courseDepartment
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<CourseMeeting> courseMeetings
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<Instructor> instructors
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected String grade
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected Double credits
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<CourseUpdate> courseUpdates
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<CourseTextbook> courseTextbooks
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected String id
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<Resource> courseResources
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<CourseSection> courseSections
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") protected List<AdditionalInfo> courseAdditionalInfos
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public String getTitle()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setTitle(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public String getCode()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setCode(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public String getSchool()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setSchool(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public Department getCourseDepartment()
Department@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setCourseDepartment(Department value)
value - allowed object is
Department@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<CourseMeeting> getCourseMeetings()
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
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<Instructor> getInstructors()
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
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public String getGrade()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setGrade(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public Double getCredits()
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setCredits(Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<CourseUpdate> getCourseUpdates()
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
getCourseUpdates in class CourseWrapper@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<CourseTextbook> getCourseTextbooks()
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
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public String getId()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public void setId(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<Resource> getCourseResources()
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 courseResources property.
For example, to add a new item, do as follows:
getCourseResources().add(newItem);
Objects of the following type(s) are allowed in the list
Resource
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<CourseSection> getCourseSections()
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 courseSections property.
For example, to add a new item, do as follows:
getCourseSections().add(newItem);
Objects of the following type(s) are allowed in the list
CourseSection
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public List<AdditionalInfo> getCourseAdditionalInfos()
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 courseAdditionalInfos property.
For example, to add a new item, do as follows:
getCourseAdditionalInfos().add(newItem);
Objects of the following type(s) are allowed in the list
AdditionalInfo
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public String toString()
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") 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)
equals in interface org.jvnet.jaxb2_commons.lang.Equals@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public boolean equals(Object object)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-03-11T01:38:11-06:00", comments="JAXB RI v2.2.6") public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodeCopyright © 2016 Jasig. All Rights Reserved.