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

java.lang.Object
  extended by org.jasig.portlet.courses.model.xml.personal.CoursesByTermWrapper
      extended by org.jasig.portlet.courses.model.xml.personal.CoursesByTerm
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 CoursesByTerm
extends CoursesByTermWrapper
implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for courses-by-term complex type.

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

 <complexType name="courses-by-term">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="term_code" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="gpa" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="credits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="overallGpa" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="overallCredits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="course" type="{https://source.jasig.org/schemas/portlet/courses/courses-by-term}course" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Course> courses
           
protected  Double credits
           
protected  Double gpa
           
protected  Double overallCredits
           
protected  Double overallGpa
           
protected  String termCode
           
 
Constructor Summary
CoursesByTerm()
           
 
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<Course> getCourses()
          Gets the value of the courses property.
 Double getCredits()
          Gets the value of the credits property.
 Double getGpa()
          Gets the value of the gpa property.
 Double getOverallCredits()
          Gets the value of the overallCredits property.
 Double getOverallGpa()
          Gets the value of the overallGpa property.
 String getTermCode()
          Gets the value of the termCode property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCredits(Double value)
          Sets the value of the credits property.
 void setGpa(Double value)
          Sets the value of the gpa property.
 void setOverallCredits(Double value)
          Sets the value of the overallCredits property.
 void setOverallGpa(Double value)
          Sets the value of the overallGpa property.
 void setTermCode(String value)
          Sets the value of the termCode property.
 String toString()
           
 
Methods inherited from class org.jasig.portlet.courses.model.xml.personal.CoursesByTermWrapper
getCourse, getNewUpdateCount
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

termCode

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

gpa

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

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

overallGpa

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

overallCredits

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

courses

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

CoursesByTerm

public CoursesByTerm()
Method Detail

getTermCode

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

Returns:
possible object is String

setTermCode

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

Parameters:
value - allowed object is String

getGpa

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

Returns:
possible object is Double

setGpa

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

Parameters:
value - allowed object is Double

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

getOverallGpa

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

Returns:
possible object is Double

setOverallGpa

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

Parameters:
value - allowed object is Double

getOverallCredits

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

Returns:
possible object is Double

setOverallCredits

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

Parameters:
value - allowed object is Double

getCourses

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-11-02T11:19:34-07:00",
           comments="JAXB RI v2.2.5-b10")
public List<Course> getCourses()
Gets the value of the courses 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 courses property.

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

    getCourses().add(newItem);
 

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

Specified by:
getCourses in class CoursesByTermWrapper

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.