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

com.ellucian.generated.eedm.subjects.v6_0.Subjects Maven / Gradle / Ivy


package com.ellucian.generated.eedm.subjects.v6_0;

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;


/**
 * Subjects
 * 

* A topic or category used to categorize a branch of knowledge or study such as "Mathematics" or "Biology". * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "metadata", "id", "abbreviation", "title", "description" }) @Generated("jsonschema2pojo") public class Subjects { /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") @JsonPropertyDescription("Metadata about the JSON payload") private Metadata metadata; /** * A global identifier of a subject to be used in all external references to the subject. *

* A global identifier of a subject. * (Required) * */ @JsonProperty("id") @JsonPropertyDescription("A global identifier of a subject.") private String id; /** * Abbreviation *

* Human-readable abbraviated name to a subject. * */ @JsonProperty("abbreviation") @JsonPropertyDescription("Human-readable abbraviated name to a subject.") private String abbreviation; /** * Title *

* The full name of a subject. * (Required) * */ @JsonProperty("title") @JsonPropertyDescription("The full name of a subject.") private String title; /** * Description *

* A description of a subject. * */ @JsonProperty("description") @JsonPropertyDescription("A description of a subject.") private String description; /** * 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 Subjects withMetadata(Metadata metadata) { this.metadata = metadata; return this; } /** * A global identifier of a subject to be used in all external references to the subject. *

* A global identifier of a subject. * (Required) * */ @JsonProperty("id") public String getId() { return id; } /** * A global identifier of a subject to be used in all external references to the subject. *

* A global identifier of a subject. * (Required) * */ @JsonProperty("id") public void setId(String id) { this.id = id; } public Subjects withId(String id) { this.id = id; return this; } /** * Abbreviation *

* Human-readable abbraviated name to a subject. * */ @JsonProperty("abbreviation") public String getAbbreviation() { return abbreviation; } /** * Abbreviation *

* Human-readable abbraviated name to a subject. * */ @JsonProperty("abbreviation") public void setAbbreviation(String abbreviation) { this.abbreviation = abbreviation; } public Subjects withAbbreviation(String abbreviation) { this.abbreviation = abbreviation; return this; } /** * Title *

* The full name of a subject. * (Required) * */ @JsonProperty("title") public String getTitle() { return title; } /** * Title *

* The full name of a subject. * (Required) * */ @JsonProperty("title") public void setTitle(String title) { this.title = title; } public Subjects withTitle(String title) { this.title = title; return this; } /** * Description *

* A description of a subject. * */ @JsonProperty("description") public String getDescription() { return description; } /** * Description *

* A description of a subject. * */ @JsonProperty("description") public void setDescription(String description) { this.description = description; } public Subjects withDescription(String description) { this.description = description; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Subjects.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("abbreviation"); sb.append('='); sb.append(((this.abbreviation == null)?"":this.abbreviation)); sb.append(','); sb.append("title"); sb.append('='); sb.append(((this.title == null)?"":this.title)); sb.append(','); sb.append("description"); sb.append('='); sb.append(((this.description == null)?"":this.description)); 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.description == null)? 0 :this.description.hashCode())); result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); result = ((result* 31)+((this.abbreviation == null)? 0 :this.abbreviation.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 Subjects) == false) { return false; } Subjects rhs = ((Subjects) other); return ((((((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.abbreviation == rhs.abbreviation)||((this.abbreviation!= null)&&this.abbreviation.equals(rhs.abbreviation))))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy