org.jasig.portlet.courses.model.catalog.xml
Class FullCourseOffering

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

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="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="prerequisites" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="course-section" type="{https://source.jasig.org/schemas/portlet/courses/course-catalog}course-section" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="credits" type="{http://www.w3.org/2001/XMLSchema}decimal" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String code
           
protected  List<CourseSection> courseSections
           
protected  BigDecimal credits
           
protected  String description
           
protected  String prerequisites
           
protected  String title
           
 
Constructor Summary
FullCourseOffering()
           
 
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<CourseSection> getCourseSections()
          Gets the value of the courseSections property.
 BigDecimal getCredits()
          Gets the value of the credits property.
 String getDescription()
          Gets the value of the description property.
 String getPrerequisites()
          Gets the value of the prerequisites 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 setCredits(BigDecimal value)
          Sets the value of the credits property.
 void setDescription(String value)
          Sets the value of the description property.
 void setPrerequisites(String value)
          Sets the value of the prerequisites property.
 void setTitle(String value)
          Sets the value of the title property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

description

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

prerequisites

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

courseSections

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

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

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

credits

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

FullCourseOffering

public FullCourseOffering()
Method Detail

getDescription

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

Returns:
possible object is String

setDescription

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

Parameters:
value - allowed object is String

getPrerequisites

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

Returns:
possible object is String

setPrerequisites

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

Parameters:
value - allowed object is String

getCourseSections

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


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

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

getCredits

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

Returns:
possible object is BigDecimal

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(BigDecimal value)
Sets the value of the credits property.

Parameters:
value - allowed object is BigDecimal

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.