
com.ellucian.generated.eedm.constituent_assets.v9_0.ConstituentAssets Maven / Gradle / Ivy
package com.ellucian.generated.eedm.constituent_assets.v9_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;
/**
* Constituent Assets
*
* The assets (e.g. art, stocks, airplane) used by Advancement to calculate the wealth of a constituent.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"metadata",
"id",
"description",
"constituent",
"type",
"status",
"informationDate",
"targetType",
"state",
"worth",
"range",
"source",
"comment"
})
@Generated("jsonschema2pojo")
public class ConstituentAssets {
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
@JsonPropertyDescription("Metadata about the JSON payload")
private Metadata metadata;
/**
* ID
*
* The global identifier of the constituent asset.
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("The global identifier of the constituent asset.")
private String id;
/**
* Description
*
* The description of the constituent asset.
*
*/
@JsonProperty("description")
@JsonPropertyDescription("The description of the constituent asset.")
private String description;
/**
* Constituent
*
* The constituent that owns the asset.
* (Required)
*
*/
@JsonProperty("constituent")
@JsonPropertyDescription("The constituent that owns the asset.")
private Object constituent;
/**
* Type
*
* The type of the asset owned by the constituent (e.g.: real estate, art, stocks).
* (Required)
*
*/
@JsonProperty("type")
@JsonPropertyDescription("The type of the asset owned by the constituent (e.g.: real estate, art, stocks).")
private Type type;
/**
* Status
*
* The status of the asset owned by the constituent.
*
*/
@JsonProperty("status")
@JsonPropertyDescription("The status of the asset owned by the constituent.")
private Status status;
/**
* Information Date
*
* The date of the information for the asset.
* (Required)
*
*/
@JsonProperty("informationDate")
@JsonPropertyDescription("The date of the information for the asset.")
private String informationDate;
/**
* Target Type
*
* The asset's target type (e.g.: individual, household).
*
*/
@JsonProperty("targetType")
@JsonPropertyDescription("The asset's target type (e.g.: individual, household).")
private Object targetType;
/**
* State
*
* The state of the asset (e.g.: cash on hand, sale of the asset).
*
*/
@JsonProperty("state")
@JsonPropertyDescription("The state of the asset (e.g.: cash on hand, sale of the asset).")
private Object state;
/**
* Worth
*
* The specified worth of the asset.
*
*/
@JsonProperty("worth")
@JsonPropertyDescription("The specified worth of the asset.")
private Object worth;
/**
* Range
*
* The range within which the asset's worth falls.
*
*/
@JsonProperty("range")
@JsonPropertyDescription("The range within which the asset's worth falls.")
private Object range;
/**
* Source
*
* The source that provided the asset information.
*
*/
@JsonProperty("source")
@JsonPropertyDescription("The source that provided the asset information.")
private Object source;
/**
* Comment
*
* The comments about the asset.
*
*/
@JsonProperty("comment")
@JsonPropertyDescription("The comments about the asset.")
private String comment;
/**
* 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 ConstituentAssets withMetadata(Metadata metadata) {
this.metadata = metadata;
return this;
}
/**
* ID
*
* The global identifier of the constituent asset.
* (Required)
*
*/
@JsonProperty("id")
public String getId() {
return id;
}
/**
* ID
*
* The global identifier of the constituent asset.
* (Required)
*
*/
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public ConstituentAssets withId(String id) {
this.id = id;
return this;
}
/**
* Description
*
* The description of the constituent asset.
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* Description
*
* The description of the constituent asset.
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public ConstituentAssets withDescription(String description) {
this.description = description;
return this;
}
/**
* Constituent
*
* The constituent that owns the asset.
* (Required)
*
*/
@JsonProperty("constituent")
public Object getConstituent() {
return constituent;
}
/**
* Constituent
*
* The constituent that owns the asset.
* (Required)
*
*/
@JsonProperty("constituent")
public void setConstituent(Object constituent) {
this.constituent = constituent;
}
public ConstituentAssets withConstituent(Object constituent) {
this.constituent = constituent;
return this;
}
/**
* Type
*
* The type of the asset owned by the constituent (e.g.: real estate, art, stocks).
* (Required)
*
*/
@JsonProperty("type")
public Type getType() {
return type;
}
/**
* Type
*
* The type of the asset owned by the constituent (e.g.: real estate, art, stocks).
* (Required)
*
*/
@JsonProperty("type")
public void setType(Type type) {
this.type = type;
}
public ConstituentAssets withType(Type type) {
this.type = type;
return this;
}
/**
* Status
*
* The status of the asset owned by the constituent.
*
*/
@JsonProperty("status")
public Status getStatus() {
return status;
}
/**
* Status
*
* The status of the asset owned by the constituent.
*
*/
@JsonProperty("status")
public void setStatus(Status status) {
this.status = status;
}
public ConstituentAssets withStatus(Status status) {
this.status = status;
return this;
}
/**
* Information Date
*
* The date of the information for the asset.
* (Required)
*
*/
@JsonProperty("informationDate")
public String getInformationDate() {
return informationDate;
}
/**
* Information Date
*
* The date of the information for the asset.
* (Required)
*
*/
@JsonProperty("informationDate")
public void setInformationDate(String informationDate) {
this.informationDate = informationDate;
}
public ConstituentAssets withInformationDate(String informationDate) {
this.informationDate = informationDate;
return this;
}
/**
* Target Type
*
* The asset's target type (e.g.: individual, household).
*
*/
@JsonProperty("targetType")
public Object getTargetType() {
return targetType;
}
/**
* Target Type
*
* The asset's target type (e.g.: individual, household).
*
*/
@JsonProperty("targetType")
public void setTargetType(Object targetType) {
this.targetType = targetType;
}
public ConstituentAssets withTargetType(Object targetType) {
this.targetType = targetType;
return this;
}
/**
* State
*
* The state of the asset (e.g.: cash on hand, sale of the asset).
*
*/
@JsonProperty("state")
public Object getState() {
return state;
}
/**
* State
*
* The state of the asset (e.g.: cash on hand, sale of the asset).
*
*/
@JsonProperty("state")
public void setState(Object state) {
this.state = state;
}
public ConstituentAssets withState(Object state) {
this.state = state;
return this;
}
/**
* Worth
*
* The specified worth of the asset.
*
*/
@JsonProperty("worth")
public Object getWorth() {
return worth;
}
/**
* Worth
*
* The specified worth of the asset.
*
*/
@JsonProperty("worth")
public void setWorth(Object worth) {
this.worth = worth;
}
public ConstituentAssets withWorth(Object worth) {
this.worth = worth;
return this;
}
/**
* Range
*
* The range within which the asset's worth falls.
*
*/
@JsonProperty("range")
public Object getRange() {
return range;
}
/**
* Range
*
* The range within which the asset's worth falls.
*
*/
@JsonProperty("range")
public void setRange(Object range) {
this.range = range;
}
public ConstituentAssets withRange(Object range) {
this.range = range;
return this;
}
/**
* Source
*
* The source that provided the asset information.
*
*/
@JsonProperty("source")
public Object getSource() {
return source;
}
/**
* Source
*
* The source that provided the asset information.
*
*/
@JsonProperty("source")
public void setSource(Object source) {
this.source = source;
}
public ConstituentAssets withSource(Object source) {
this.source = source;
return this;
}
/**
* Comment
*
* The comments about the asset.
*
*/
@JsonProperty("comment")
public String getComment() {
return comment;
}
/**
* Comment
*
* The comments about the asset.
*
*/
@JsonProperty("comment")
public void setComment(String comment) {
this.comment = comment;
}
public ConstituentAssets withComment(String comment) {
this.comment = comment;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ConstituentAssets.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("description");
sb.append('=');
sb.append(((this.description == null)?"":this.description));
sb.append(',');
sb.append("constituent");
sb.append('=');
sb.append(((this.constituent == null)?"":this.constituent));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"":this.type));
sb.append(',');
sb.append("status");
sb.append('=');
sb.append(((this.status == null)?"":this.status));
sb.append(',');
sb.append("informationDate");
sb.append('=');
sb.append(((this.informationDate == null)?"":this.informationDate));
sb.append(',');
sb.append("targetType");
sb.append('=');
sb.append(((this.targetType == null)?"":this.targetType));
sb.append(',');
sb.append("state");
sb.append('=');
sb.append(((this.state == null)?"":this.state));
sb.append(',');
sb.append("worth");
sb.append('=');
sb.append(((this.worth == null)?"":this.worth));
sb.append(',');
sb.append("range");
sb.append('=');
sb.append(((this.range == null)?"":this.range));
sb.append(',');
sb.append("source");
sb.append('=');
sb.append(((this.source == null)?"":this.source));
sb.append(',');
sb.append("comment");
sb.append('=');
sb.append(((this.comment == null)?"":this.comment));
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.range == null)? 0 :this.range.hashCode()));
result = ((result* 31)+((this.targetType == null)? 0 :this.targetType.hashCode()));
result = ((result* 31)+((this.source == null)? 0 :this.source.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.worth == null)? 0 :this.worth.hashCode()));
result = ((result* 31)+((this.constituent == null)? 0 :this.constituent.hashCode()));
result = ((result* 31)+((this.informationDate == null)? 0 :this.informationDate.hashCode()));
result = ((result* 31)+((this.comment == null)? 0 :this.comment.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode()));
result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ConstituentAssets) == false) {
return false;
}
ConstituentAssets rhs = ((ConstituentAssets) 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.range == rhs.range)||((this.range!= null)&&this.range.equals(rhs.range))))&&((this.targetType == rhs.targetType)||((this.targetType!= null)&&this.targetType.equals(rhs.targetType))))&&((this.source == rhs.source)||((this.source!= null)&&this.source.equals(rhs.source))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.worth == rhs.worth)||((this.worth!= null)&&this.worth.equals(rhs.worth))))&&((this.constituent == rhs.constituent)||((this.constituent!= null)&&this.constituent.equals(rhs.constituent))))&&((this.informationDate == rhs.informationDate)||((this.informationDate!= null)&&this.informationDate.equals(rhs.informationDate))))&&((this.comment == rhs.comment)||((this.comment!= null)&&this.comment.equals(rhs.comment))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status))));
}
}