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

com.ellucian.generated.eedm.courses.v16_0_0.Title Maven / Gradle / Ivy


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

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "type",
    "value"
})
@Generated("jsonschema2pojo")
public class Title {

    /**
     * Type
     * 

* The type of course title (e.g. short title, long title). * (Required) * */ @JsonProperty("type") @JsonPropertyDescription("The type of course title (e.g. short title, long title).") private Type type; /** * Value *

* The title for the course associated with the type. * (Required) * */ @JsonProperty("value") @JsonPropertyDescription("The title for the course associated with the type.") private String value; /** * Type *

* The type of course title (e.g. short title, long title). * (Required) * */ @JsonProperty("type") public Type getType() { return type; } /** * Type *

* The type of course title (e.g. short title, long title). * (Required) * */ @JsonProperty("type") public void setType(Type type) { this.type = type; } public Title withType(Type type) { this.type = type; return this; } /** * Value *

* The title for the course associated with the type. * (Required) * */ @JsonProperty("value") public String getValue() { return value; } /** * Value *

* The title for the course associated with the type. * (Required) * */ @JsonProperty("value") public void setValue(String value) { this.value = value; } public Title withValue(String value) { this.value = value; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Title.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("type"); sb.append('='); sb.append(((this.type == null)?"":this.type)); sb.append(','); sb.append("value"); sb.append('='); sb.append(((this.value == null)?"":this.value)); 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.type == null)? 0 :this.type.hashCode())); result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Title) == false) { return false; } Title rhs = ((Title) other); return (((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy