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

com.ellucian.generated.eedm.academic_credentials.v6_0.AcademicCredentials Maven / Gradle / Ivy


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

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.ellucian.generated.eedm.academic_catalogs.v6_0.Metadata;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;


/**
 * Academic Credentials
 * 

* An award that recognizes the completion of a specified course of study. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "metadata", "id", "title", "abbreviation", "description", "type" }) @Generated("jsonschema2pojo") public class AcademicCredentials { /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") @JsonPropertyDescription("Metadata about the JSON payload") private Metadata metadata; /** * ID *

* A global identifier for an academic degree. * (Required) * */ @JsonProperty("id") @JsonPropertyDescription("A global identifier for an academic degree.") private String id; /** * Title *

* The full name of an academic degree. * (Required) * */ @JsonProperty("title") @JsonPropertyDescription("The full name of an academic degree.") private String title; /** * Abbreviation *

* An abbreviation used to identify an academic degree. * */ @JsonProperty("abbreviation") @JsonPropertyDescription("An abbreviation used to identify an academic degree.") private String abbreviation; /** * Description *

* A full description of an academic degree. * */ @JsonProperty("description") @JsonPropertyDescription("A full description of an academic degree.") private String description; /** * Type *

* A type of academic degree. * (Required) * */ @JsonProperty("type") @JsonPropertyDescription("A type of academic degree.") private AcademicCredentials.Type type; /** * 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 AcademicCredentials withMetadata(Metadata metadata) { this.metadata = metadata; return this; } /** * ID *

* A global identifier for an academic degree. * (Required) * */ @JsonProperty("id") public String getId() { return id; } /** * ID *

* A global identifier for an academic degree. * (Required) * */ @JsonProperty("id") public void setId(String id) { this.id = id; } public AcademicCredentials withId(String id) { this.id = id; return this; } /** * Title *

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

* The full name of an academic degree. * (Required) * */ @JsonProperty("title") public void setTitle(String title) { this.title = title; } public AcademicCredentials withTitle(String title) { this.title = title; return this; } /** * Abbreviation *

* An abbreviation used to identify an academic degree. * */ @JsonProperty("abbreviation") public String getAbbreviation() { return abbreviation; } /** * Abbreviation *

* An abbreviation used to identify an academic degree. * */ @JsonProperty("abbreviation") public void setAbbreviation(String abbreviation) { this.abbreviation = abbreviation; } public AcademicCredentials withAbbreviation(String abbreviation) { this.abbreviation = abbreviation; return this; } /** * Description *

* A full description of an academic degree. * */ @JsonProperty("description") public String getDescription() { return description; } /** * Description *

* A full description of an academic degree. * */ @JsonProperty("description") public void setDescription(String description) { this.description = description; } public AcademicCredentials withDescription(String description) { this.description = description; return this; } /** * Type *

* A type of academic degree. * (Required) * */ @JsonProperty("type") public AcademicCredentials.Type getType() { return type; } /** * Type *

* A type of academic degree. * (Required) * */ @JsonProperty("type") public void setType(AcademicCredentials.Type type) { this.type = type; } public AcademicCredentials withType(AcademicCredentials.Type type) { this.type = type; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(AcademicCredentials.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("title"); sb.append('='); sb.append(((this.title == null)?"":this.title)); sb.append(','); sb.append("abbreviation"); sb.append('='); sb.append(((this.abbreviation == null)?"":this.abbreviation)); sb.append(','); sb.append("description"); sb.append('='); sb.append(((this.description == null)?"":this.description)); sb.append(','); sb.append("type"); sb.append('='); sb.append(((this.type == null)?"":this.type)); 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.description == null)? 0 :this.description.hashCode())); result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); result = ((result* 31)+((this.abbreviation == null)? 0 :this.abbreviation.hashCode())); result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof AcademicCredentials) == false) { return false; } AcademicCredentials rhs = ((AcademicCredentials) other); return (((((((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata)))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.abbreviation == rhs.abbreviation)||((this.abbreviation!= null)&&this.abbreviation.equals(rhs.abbreviation))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type)))); } /** * Type *

* A type of academic degree. * */ @Generated("jsonschema2pojo") public enum Type { DEGREE("degree"), HONORARY("honorary"), DIPLOMA("diploma"), CERTIFICATE("certificate"); private final String value; private final static Map CONSTANTS = new HashMap(); static { for (AcademicCredentials.Type c: values()) { CONSTANTS.put(c.value, c); } } Type(String value) { this.value = value; } @Override public String toString() { return this.value; } @JsonValue public String value() { return this.value; } @JsonCreator public static AcademicCredentials.Type fromValue(String value) { AcademicCredentials.Type constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy