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

com.dell.cpsd.hal.data.provider.api.AbsoluteIdentity Maven / Gradle / Ivy


package com.dell.cpsd.hal.data.provider.api;

import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * AbsoluteIdentity
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "uuid", "businessKeys" }) public class AbsoluteIdentity { /** * * (Required) * */ @JsonProperty("uuid") private String uuid; @JsonProperty("businessKeys") private List businessKeys = new ArrayList(); /** * No args constructor for use in serialization * */ public AbsoluteIdentity() { } /** * * @param businessKeys * @param uuid */ public AbsoluteIdentity(String uuid, List businessKeys) { super(); this.uuid = uuid; this.businessKeys = businessKeys; } /** * * (Required) * * @return * The uuid */ @JsonProperty("uuid") public String getUuid() { return uuid; } /** * * (Required) * * @param uuid * The uuid */ @JsonProperty("uuid") public void setUuid(String uuid) { this.uuid = uuid; } /** * * @return * The businessKeys */ @JsonProperty("businessKeys") public List getBusinessKeys() { return businessKeys; } /** * * @param businessKeys * The businessKeys */ @JsonProperty("businessKeys") public void setBusinessKeys(List businessKeys) { this.businessKeys = businessKeys; } @Override public String toString() { return ToStringBuilder.reflectionToString(this); } @Override public int hashCode() { return new HashCodeBuilder().append(uuid).append(businessKeys).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof AbsoluteIdentity) == false) { return false; } AbsoluteIdentity rhs = ((AbsoluteIdentity) other); return new EqualsBuilder().append(uuid, rhs.uuid).append(businessKeys, rhs.businessKeys).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy