All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ellucian.generated.eedm.admission_applications.v9_0.Discipline Maven / Gradle / Ivy


package com.ellucian.generated.eedm.admission_applications.v9_0;

import java.util.ArrayList;
import java.util.List;
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({
    "discipline",
    "subdisciplines"
})
@Generated("jsonschema2pojo")
public class Discipline {

    /**
     * Discipline
     * 

* The academic discipline that defines the course of study * (Required) * */ @JsonProperty("discipline") @JsonPropertyDescription("The academic discipline that defines the course of study") private Discipline__1 discipline; /** * Subdisciplines *

* The list of academic disciplines that are subordinate to the discipline * */ @JsonProperty("subdisciplines") @JsonPropertyDescription("The list of academic disciplines that are subordinate to the discipline") private List subdisciplines = new ArrayList(); /** * Discipline *

* The academic discipline that defines the course of study * (Required) * */ @JsonProperty("discipline") public Discipline__1 getDiscipline() { return discipline; } /** * Discipline *

* The academic discipline that defines the course of study * (Required) * */ @JsonProperty("discipline") public void setDiscipline(Discipline__1 discipline) { this.discipline = discipline; } public Discipline withDiscipline(Discipline__1 discipline) { this.discipline = discipline; return this; } /** * Subdisciplines *

* The list of academic disciplines that are subordinate to the discipline * */ @JsonProperty("subdisciplines") public List getSubdisciplines() { return subdisciplines; } /** * Subdisciplines *

* The list of academic disciplines that are subordinate to the discipline * */ @JsonProperty("subdisciplines") public void setSubdisciplines(List subdisciplines) { this.subdisciplines = subdisciplines; } public Discipline withSubdisciplines(List subdisciplines) { this.subdisciplines = subdisciplines; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Discipline.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("discipline"); sb.append('='); sb.append(((this.discipline == null)?"":this.discipline)); sb.append(','); sb.append("subdisciplines"); sb.append('='); sb.append(((this.subdisciplines == null)?"":this.subdisciplines)); 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.discipline == null)? 0 :this.discipline.hashCode())); result = ((result* 31)+((this.subdisciplines == null)? 0 :this.subdisciplines.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Discipline) == false) { return false; } Discipline rhs = ((Discipline) other); return (((this.discipline == rhs.discipline)||((this.discipline!= null)&&this.discipline.equals(rhs.discipline)))&&((this.subdisciplines == rhs.subdisciplines)||((this.subdisciplines!= null)&&this.subdisciplines.equals(rhs.subdisciplines)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy