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

com.ellucian.generated.eedm.courses.v6_0.Subject Maven / Gradle / Ivy


package com.ellucian.generated.eedm.courses.v6_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;


/**
 * Subject
 * 

* The branch of knowledge such as 'Mathematics' or 'Biology' associated with a course. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "id" }) @Generated("jsonschema2pojo") public class Subject { /** * ID *

* The global identifier for the Subject. * (Required) * */ @JsonProperty("id") @JsonPropertyDescription("The global identifier for the Subject.") private String id; /** * ID *

* The global identifier for the Subject. * (Required) * */ @JsonProperty("id") public String getId() { return id; } /** * ID *

* The global identifier for the Subject. * (Required) * */ @JsonProperty("id") public void setId(String id) { this.id = id; } public Subject withId(String id) { this.id = id; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Subject.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("id"); sb.append('='); sb.append(((this.id == null)?"":this.id)); 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.id == null)? 0 :this.id.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Subject) == false) { return false; } Subject rhs = ((Subject) other); return ((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy