org.sakaiproject.service.gradebook.shared.GradingScaleDefinition Maven / Gradle / Ivy
/**
* Copyright (c) 2003-2017 The Apereo Foundation
*
* Licensed under the Educational Community 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://opensource.org/licenses/ecl2
*
* 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.
*/
package org.sakaiproject.service.gradebook.shared;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* DTO for the persistent GradingScale
*/
public class GradingScaleDefinition implements Serializable {
private static final long serialVersionUID = 1L;
private String uid;
private String name;
private List grades;
/**
* This was added specifically to support CXF and is a different pattern to the original
*/
private List defaultBottomPercentsAsList;
/**
* The original map
*/
private Map defaultBottomPercents;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getGrades() {
return grades;
}
public void setGrades(List grades) {
this.grades = grades;
}
public List getDefaultBottomPercentsAsList() {
return defaultBottomPercentsAsList;
}
public void setDefaultBottomPercentsAsList(List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy