|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.courses.model.xml.Course
public class Course
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<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"/>
<element ref="{https://source.jasig.org/schemas/portlet/courses/course-summary}location"/>
<element name="meetingTimes" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element ref="{https://source.jasig.org/schemas/portlet/courses/course-summary}instructor" maxOccurs="unbounded" minOccurs="0"/>
<element name="grade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{https://source.jasig.org/schemas/portlet/courses/course-summary}announcement" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Announcement> |
announcements
|
protected String |
code
|
protected String |
grade
|
protected List<Instructor> |
instructors
|
protected Location |
location
|
protected String |
meetingTimes
|
protected String |
school
|
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)
|
List<Announcement> |
getAnnouncements()
Gets the value of the announcements property. |
String |
getCode()
Gets the value of the code property. |
String |
getGrade()
Gets the value of the grade property. |
List<Instructor> |
getInstructors()
Gets the value of the instructors property. |
Location |
getLocation()
Gets the value of the location property. |
String |
getMeetingTimes()
Gets the value of the meetingTimes property. |
String |
getSchool()
Gets the value of the school 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 |
setGrade(String value)
Sets the value of the grade property. |
void |
setLocation(Location value)
Sets the value of the location property. |
void |
setMeetingTimes(String value)
Sets the value of the meetingTimes property. |
void |
setSchool(String value)
Sets the value of the school 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 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String title
protected String code
protected String school
protected Location location
protected String meetingTimes
protected String url
protected List<Instructor> instructors
protected String grade
protected List<Announcement> announcements
| Constructor Detail |
|---|
public Course()
| Method Detail |
|---|
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic String getSchool()
Stringpublic void setSchool(String value)
value - allowed object is
Stringpublic Location getLocation()
Locationpublic void setLocation(Location value)
value - allowed object is
Locationpublic String getMeetingTimes()
Stringpublic void setMeetingTimes(String value)
value - allowed object is
Stringpublic String getUrl()
Stringpublic void setUrl(String value)
value - allowed object is
Stringpublic 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
public String getGrade()
Stringpublic void setGrade(String value)
value - allowed object is
Stringpublic List<Announcement> getAnnouncements()
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 announcements property.
For example, to add a new item, do as follows:
getAnnouncements().add(newItem);
Objects of the following type(s) are allowed in the list
Announcement
public String toString()
toString in class Object
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
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
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.Equalspublic boolean equals(Object object)
equals in class Object
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.HashCodepublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||