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

com.ebay.sell.inventory.inventoryitemgroups.models.VariesBy Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.ebay.sell.inventory.inventoryitemgroups.models;

import java.util.LinkedList;
import java.util.List;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

public class VariesBy {

	private List specifications = new LinkedList<>();
	private List aspectsImageVariesBy = new LinkedList<>();

	public List getSpecifications() {
		return specifications;
	}

	public void setSpecifications(List specifications) {
		this.specifications = specifications;
	}

	public List getAspectsImageVariesBy() {
		return aspectsImageVariesBy;
	}

	public void setAspectsImageVariesBy(List aspectsImageVariesBy) {
		this.aspectsImageVariesBy = aspectsImageVariesBy;
	}

	@Override
	public boolean equals(final Object object) {
		if (object == this) {
			return true;
		}
		if (!(object instanceof VariesBy)) {
			return false;
		}
		final VariesBy variesBy = (VariesBy) object;
		return new EqualsBuilder().append(getSpecifications(), variesBy.getSpecifications())
				.append(getAspectsImageVariesBy(), variesBy.getAspectsImageVariesBy()).isEquals();
	}

	@Override
	public int hashCode() {
		return new HashCodeBuilder().append(getSpecifications()).append(getAspectsImageVariesBy()).toHashCode();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy