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

com.ellucian.generated.eedm.person_contacts.v7_0.Name Maven / Gradle / Ivy


package com.ellucian.generated.eedm.person_contacts.v7_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;


/**
 * Name
 * 

* The name of the contact * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "fullName", "firstName", "middleName", "lastName" }) @Generated("jsonschema2pojo") public class Name { /** * Full Name *

* The full name of the contact * */ @JsonProperty("fullName") @JsonPropertyDescription("The full name of the contact") private String fullName; /** * First Name *

* The first name of the contact * */ @JsonProperty("firstName") @JsonPropertyDescription("The first name of the contact") private String firstName; /** * Middle Name *

* The middle name of the contact * */ @JsonProperty("middleName") @JsonPropertyDescription("The middle name of the contact") private String middleName; /** * Last Name *

* The last name of the contact * */ @JsonProperty("lastName") @JsonPropertyDescription("The last name of the contact") private String lastName; /** * Full Name *

* The full name of the contact * */ @JsonProperty("fullName") public String getFullName() { return fullName; } /** * Full Name *

* The full name of the contact * */ @JsonProperty("fullName") public void setFullName(String fullName) { this.fullName = fullName; } public Name withFullName(String fullName) { this.fullName = fullName; return this; } /** * First Name *

* The first name of the contact * */ @JsonProperty("firstName") public String getFirstName() { return firstName; } /** * First Name *

* The first name of the contact * */ @JsonProperty("firstName") public void setFirstName(String firstName) { this.firstName = firstName; } public Name withFirstName(String firstName) { this.firstName = firstName; return this; } /** * Middle Name *

* The middle name of the contact * */ @JsonProperty("middleName") public String getMiddleName() { return middleName; } /** * Middle Name *

* The middle name of the contact * */ @JsonProperty("middleName") public void setMiddleName(String middleName) { this.middleName = middleName; } public Name withMiddleName(String middleName) { this.middleName = middleName; return this; } /** * Last Name *

* The last name of the contact * */ @JsonProperty("lastName") public String getLastName() { return lastName; } /** * Last Name *

* The last name of the contact * */ @JsonProperty("lastName") public void setLastName(String lastName) { this.lastName = lastName; } public Name withLastName(String lastName) { this.lastName = lastName; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Name.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("fullName"); sb.append('='); sb.append(((this.fullName == null)?"":this.fullName)); sb.append(','); sb.append("firstName"); sb.append('='); sb.append(((this.firstName == null)?"":this.firstName)); sb.append(','); sb.append("middleName"); sb.append('='); sb.append(((this.middleName == null)?"":this.middleName)); sb.append(','); sb.append("lastName"); sb.append('='); sb.append(((this.lastName == null)?"":this.lastName)); 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.fullName == null)? 0 :this.fullName.hashCode())); result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); result = ((result* 31)+((this.middleName == null)? 0 :this.middleName.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Name) == false) { return false; } Name rhs = ((Name) other); return (((((this.fullName == rhs.fullName)||((this.fullName!= null)&&this.fullName.equals(rhs.fullName)))&&((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName))))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.middleName == rhs.middleName)||((this.middleName!= null)&&this.middleName.equals(rhs.middleName)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy