/*
* Copyright 2012 Shared Learning Collaborative, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.04.20 at 03:09:04 PM EDT
//
package org.slc.sli.sample.entities;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* The total credits required to graduation by taking a specific course, or by taking one or more from a set of courses.
*
* <p>Java class for CreditsByCourse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CreditsByCourse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CourseCode" type="{http://ed-fi.org/0100}CourseCode" maxOccurs="unbounded"/>
* <element name="Credits" type="{http://ed-fi.org/0100}Credits"/>
* <element name="GradeLevel" type="{http://ed-fi.org/0100}GradeLevelType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditsByCourse", propOrder = {
"courseCode",
"credits",
"gradeLevel"
})
public class CreditsByCourse {
@XmlElement(name = "CourseCode", required = true)
protected List<CourseCode> courseCode;
@XmlElement(name = "Credits", required = true)
protected Credits credits;
@XmlElement(name = "GradeLevel")
protected GradeLevelType gradeLevel;
/**
* Gets the value of the courseCode property.
*
* <p>
* 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 <CODE>set</CODE> method for the courseCode property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCourseCode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CourseCode }
*
*
*/
public List<CourseCode> getCourseCode() {
if (courseCode == null) {
courseCode = new ArrayList<CourseCode>();
}
return this.courseCode;
}
/**
* Gets the value of the credits property.
*
* @return
* possible object is
* {@link Credits }
*
*/
public Credits getCredits() {
return credits;
}
/**
* Sets the value of the credits property.
*
* @param value
* allowed object is
* {@link Credits }
*
*/
public void setCredits(Credits value) {
this.credits = value;
}
/**
* Gets the value of the gradeLevel property.
*
* @return
* possible object is
* {@link GradeLevelType }
*
*/
public GradeLevelType getGradeLevel() {
return gradeLevel;
}
/**
* Sets the value of the gradeLevel property.
*
* @param value
* allowed object is
* {@link GradeLevelType }
*
*/
public void setGradeLevel(GradeLevelType value) {
this.gradeLevel = value;
}
}