
com.ellucian.generated.eedm.admission_decisions.v7_0.AdmissionDecisions Maven / Gradle / Ivy
package com.ellucian.generated.eedm.admission_decisions.v7_0;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.processing.Generated;
import com.ellucian.generated.eedm.academic_catalogs.v6_0.Metadata;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Admission Decisions
*
* Decisions made on admission applications
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"metadata",
"id",
"application",
"decisionCategories",
"decisionType",
"decidedOn",
"enteredBy"
})
@Generated("jsonschema2pojo")
public class AdmissionDecisions {
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
@JsonPropertyDescription("Metadata about the JSON payload")
private Metadata metadata;
/**
* ID
*
* The global identifier of the decision for the admission application
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("The global identifier of the decision for the admission application")
private String id;
/**
* Application
*
* The admission application, on which this decision was made
* (Required)
*
*/
@JsonProperty("application")
@JsonPropertyDescription("The admission application, on which this decision was made")
private Application application;
/**
* Decision Categories
*
* List of categories this decision corresponds to
*
*/
@JsonProperty("decisionCategories")
@JsonPropertyDescription("List of categories this decision corresponds to")
private List decisionCategories = new ArrayList();
/**
* Decision Type
*
* The type of decision on the admission application
* (Required)
*
*/
@JsonProperty("decisionType")
@JsonPropertyDescription("The type of decision on the admission application")
private DecisionType decisionType;
/**
* Decided On
*
* The date of the decision on the admission application
* (Required)
*
*/
@JsonProperty("decidedOn")
@JsonPropertyDescription("The date of the decision on the admission application")
private Date decidedOn;
/**
* Entered By
*
* The person who entered the decision information
*
*/
@JsonProperty("enteredBy")
@JsonPropertyDescription("The person who entered the decision information")
private Object enteredBy;
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
public Metadata getMetadata() {
return metadata;
}
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
public void setMetadata(Metadata metadata) {
this.metadata = metadata;
}
public AdmissionDecisions withMetadata(Metadata metadata) {
this.metadata = metadata;
return this;
}
/**
* ID
*
* The global identifier of the decision for the admission application
* (Required)
*
*/
@JsonProperty("id")
public String getId() {
return id;
}
/**
* ID
*
* The global identifier of the decision for the admission application
* (Required)
*
*/
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public AdmissionDecisions withId(String id) {
this.id = id;
return this;
}
/**
* Application
*
* The admission application, on which this decision was made
* (Required)
*
*/
@JsonProperty("application")
public Application getApplication() {
return application;
}
/**
* Application
*
* The admission application, on which this decision was made
* (Required)
*
*/
@JsonProperty("application")
public void setApplication(Application application) {
this.application = application;
}
public AdmissionDecisions withApplication(Application application) {
this.application = application;
return this;
}
/**
* Decision Categories
*
* List of categories this decision corresponds to
*
*/
@JsonProperty("decisionCategories")
public List getDecisionCategories() {
return decisionCategories;
}
/**
* Decision Categories
*
* List of categories this decision corresponds to
*
*/
@JsonProperty("decisionCategories")
public void setDecisionCategories(List decisionCategories) {
this.decisionCategories = decisionCategories;
}
public AdmissionDecisions withDecisionCategories(List decisionCategories) {
this.decisionCategories = decisionCategories;
return this;
}
/**
* Decision Type
*
* The type of decision on the admission application
* (Required)
*
*/
@JsonProperty("decisionType")
public DecisionType getDecisionType() {
return decisionType;
}
/**
* Decision Type
*
* The type of decision on the admission application
* (Required)
*
*/
@JsonProperty("decisionType")
public void setDecisionType(DecisionType decisionType) {
this.decisionType = decisionType;
}
public AdmissionDecisions withDecisionType(DecisionType decisionType) {
this.decisionType = decisionType;
return this;
}
/**
* Decided On
*
* The date of the decision on the admission application
* (Required)
*
*/
@JsonProperty("decidedOn")
public Date getDecidedOn() {
return decidedOn;
}
/**
* Decided On
*
* The date of the decision on the admission application
* (Required)
*
*/
@JsonProperty("decidedOn")
public void setDecidedOn(Date decidedOn) {
this.decidedOn = decidedOn;
}
public AdmissionDecisions withDecidedOn(Date decidedOn) {
this.decidedOn = decidedOn;
return this;
}
/**
* Entered By
*
* The person who entered the decision information
*
*/
@JsonProperty("enteredBy")
public Object getEnteredBy() {
return enteredBy;
}
/**
* Entered By
*
* The person who entered the decision information
*
*/
@JsonProperty("enteredBy")
public void setEnteredBy(Object enteredBy) {
this.enteredBy = enteredBy;
}
public AdmissionDecisions withEnteredBy(Object enteredBy) {
this.enteredBy = enteredBy;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AdmissionDecisions.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"":this.metadata));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"":this.id));
sb.append(',');
sb.append("application");
sb.append('=');
sb.append(((this.application == null)?"":this.application));
sb.append(',');
sb.append("decisionCategories");
sb.append('=');
sb.append(((this.decisionCategories == null)?"":this.decisionCategories));
sb.append(',');
sb.append("decisionType");
sb.append('=');
sb.append(((this.decisionType == null)?"":this.decisionType));
sb.append(',');
sb.append("decidedOn");
sb.append('=');
sb.append(((this.decidedOn == null)?"":this.decidedOn));
sb.append(',');
sb.append("enteredBy");
sb.append('=');
sb.append(((this.enteredBy == null)?"":this.enteredBy));
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.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.decidedOn == null)? 0 :this.decidedOn.hashCode()));
result = ((result* 31)+((this.application == null)? 0 :this.application.hashCode()));
result = ((result* 31)+((this.decisionCategories == null)? 0 :this.decisionCategories.hashCode()));
result = ((result* 31)+((this.decisionType == null)? 0 :this.decisionType.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.enteredBy == null)? 0 :this.enteredBy.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AdmissionDecisions) == false) {
return false;
}
AdmissionDecisions rhs = ((AdmissionDecisions) other);
return ((((((((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata)))&&((this.decidedOn == rhs.decidedOn)||((this.decidedOn!= null)&&this.decidedOn.equals(rhs.decidedOn))))&&((this.application == rhs.application)||((this.application!= null)&&this.application.equals(rhs.application))))&&((this.decisionCategories == rhs.decisionCategories)||((this.decisionCategories!= null)&&this.decisionCategories.equals(rhs.decisionCategories))))&&((this.decisionType == rhs.decisionType)||((this.decisionType!= null)&&this.decisionType.equals(rhs.decisionType))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.enteredBy == rhs.enteredBy)||((this.enteredBy!= null)&&this.enteredBy.equals(rhs.enteredBy))));
}
}