
com.ellucian.generated.eedm.sections_maximum.v11_0.GradeScheme Maven / Gradle / Ivy
package com.ellucian.generated.eedm.sections_maximum.v11_0;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"code",
"title",
"academicLevel",
"gradeMode",
"startOn",
"endOn",
"detail"
})
@Generated("jsonschema2pojo")
public class GradeScheme {
/**
* Code
*
* The code for the grade scheme that may be used a reference or for reporting.
*
*/
@JsonProperty("code")
@JsonPropertyDescription("The code for the grade scheme that may be used a reference or for reporting.")
private String code;
/**
* Title
*
* The full name of a grade scheme.
* (Required)
*
*/
@JsonProperty("title")
@JsonPropertyDescription("The full name of a grade scheme.")
private String title;
/**
* Academic Level
*
* A designation of the level of instruction of a course or a program of study.
*
*/
@JsonProperty("academicLevel")
@JsonPropertyDescription("A designation of the level of instruction of a course or a program of study.")
private Object academicLevel;
/**
* Grade Mode
*
* The grade mode associated with the grade scheme.
*
*/
@JsonProperty("gradeMode")
@JsonPropertyDescription("The grade mode associated with the grade scheme.")
private Object gradeMode;
/**
* Start Date
*
* The date after which a grade scheme may be used.
*
*/
@JsonProperty("startOn")
@JsonPropertyDescription("The date after which a grade scheme may be used.")
private Object startOn;
/**
* End Date
*
* The date after which a grade scheme may no longer be used.
*
*/
@JsonProperty("endOn")
@JsonPropertyDescription("The date after which a grade scheme may no longer be used.")
private Object endOn;
/**
* Detail
*
* The scheme to which the grade belongs, such as pass/fail, etc.
* (Required)
*
*/
@JsonProperty("detail")
@JsonPropertyDescription("The scheme to which the grade belongs, such as pass/fail, etc.")
private Detail__4 detail;
/**
* Code
*
* The code for the grade scheme that may be used a reference or for reporting.
*
*/
@JsonProperty("code")
public String getCode() {
return code;
}
/**
* Code
*
* The code for the grade scheme that may be used a reference or for reporting.
*
*/
@JsonProperty("code")
public void setCode(String code) {
this.code = code;
}
public GradeScheme withCode(String code) {
this.code = code;
return this;
}
/**
* Title
*
* The full name of a grade scheme.
* (Required)
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* Title
*
* The full name of a grade scheme.
* (Required)
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
public GradeScheme withTitle(String title) {
this.title = title;
return this;
}
/**
* Academic Level
*
* A designation of the level of instruction of a course or a program of study.
*
*/
@JsonProperty("academicLevel")
public Object getAcademicLevel() {
return academicLevel;
}
/**
* Academic Level
*
* A designation of the level of instruction of a course or a program of study.
*
*/
@JsonProperty("academicLevel")
public void setAcademicLevel(Object academicLevel) {
this.academicLevel = academicLevel;
}
public GradeScheme withAcademicLevel(Object academicLevel) {
this.academicLevel = academicLevel;
return this;
}
/**
* Grade Mode
*
* The grade mode associated with the grade scheme.
*
*/
@JsonProperty("gradeMode")
public Object getGradeMode() {
return gradeMode;
}
/**
* Grade Mode
*
* The grade mode associated with the grade scheme.
*
*/
@JsonProperty("gradeMode")
public void setGradeMode(Object gradeMode) {
this.gradeMode = gradeMode;
}
public GradeScheme withGradeMode(Object gradeMode) {
this.gradeMode = gradeMode;
return this;
}
/**
* Start Date
*
* The date after which a grade scheme may be used.
*
*/
@JsonProperty("startOn")
public Object getStartOn() {
return startOn;
}
/**
* Start Date
*
* The date after which a grade scheme may be used.
*
*/
@JsonProperty("startOn")
public void setStartOn(Object startOn) {
this.startOn = startOn;
}
public GradeScheme withStartOn(Object startOn) {
this.startOn = startOn;
return this;
}
/**
* End Date
*
* The date after which a grade scheme may no longer be used.
*
*/
@JsonProperty("endOn")
public Object getEndOn() {
return endOn;
}
/**
* End Date
*
* The date after which a grade scheme may no longer be used.
*
*/
@JsonProperty("endOn")
public void setEndOn(Object endOn) {
this.endOn = endOn;
}
public GradeScheme withEndOn(Object endOn) {
this.endOn = endOn;
return this;
}
/**
* Detail
*
* The scheme to which the grade belongs, such as pass/fail, etc.
* (Required)
*
*/
@JsonProperty("detail")
public Detail__4 getDetail() {
return detail;
}
/**
* Detail
*
* The scheme to which the grade belongs, such as pass/fail, etc.
* (Required)
*
*/
@JsonProperty("detail")
public void setDetail(Detail__4 detail) {
this.detail = detail;
}
public GradeScheme withDetail(Detail__4 detail) {
this.detail = detail;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(GradeScheme.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("code");
sb.append('=');
sb.append(((this.code == null)?"":this.code));
sb.append(',');
sb.append("title");
sb.append('=');
sb.append(((this.title == null)?"":this.title));
sb.append(',');
sb.append("academicLevel");
sb.append('=');
sb.append(((this.academicLevel == null)?"":this.academicLevel));
sb.append(',');
sb.append("gradeMode");
sb.append('=');
sb.append(((this.gradeMode == null)?"":this.gradeMode));
sb.append(',');
sb.append("startOn");
sb.append('=');
sb.append(((this.startOn == null)?"":this.startOn));
sb.append(',');
sb.append("endOn");
sb.append('=');
sb.append(((this.endOn == null)?"":this.endOn));
sb.append(',');
sb.append("detail");
sb.append('=');
sb.append(((this.detail == null)?"":this.detail));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.academicLevel == null)? 0 :this.academicLevel.hashCode()));
result = ((result* 31)+((this.code == null)? 0 :this.code.hashCode()));
result = ((result* 31)+((this.endOn == null)? 0 :this.endOn.hashCode()));
result = ((result* 31)+((this.gradeMode == null)? 0 :this.gradeMode.hashCode()));
result = ((result* 31)+((this.startOn == null)? 0 :this.startOn.hashCode()));
result = ((result* 31)+((this.detail == null)? 0 :this.detail.hashCode()));
result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof GradeScheme) == false) {
return false;
}
GradeScheme rhs = ((GradeScheme) other);
return ((((((((this.academicLevel == rhs.academicLevel)||((this.academicLevel!= null)&&this.academicLevel.equals(rhs.academicLevel)))&&((this.code == rhs.code)||((this.code!= null)&&this.code.equals(rhs.code))))&&((this.endOn == rhs.endOn)||((this.endOn!= null)&&this.endOn.equals(rhs.endOn))))&&((this.gradeMode == rhs.gradeMode)||((this.gradeMode!= null)&&this.gradeMode.equals(rhs.gradeMode))))&&((this.startOn == rhs.startOn)||((this.startOn!= null)&&this.startOn.equals(rhs.startOn))))&&((this.detail == rhs.detail)||((this.detail!= null)&&this.detail.equals(rhs.detail))))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))));
}
}