Rev 23557 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.common.model;import java.util.List;public class SchemeItems {private List<Integer> schemeIds;private List<Integer> catalogIds;public List<Integer> getSchemeIds() {return schemeIds;}public void setSchemeIds(List<Integer> schemeIds) {this.schemeIds = schemeIds;}public List<Integer> getCatalogIds() {return catalogIds;}public void setCatalogIds(List<Integer> catalogIds) {this.catalogIds = catalogIds;}@Overridepublic String toString() {return "SchemeItems [schemeIds=" + schemeIds + ", itemIds=" + catalogIds + "]";}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((catalogIds == null) ? 0 : catalogIds.hashCode());result = prime * result + ((schemeIds == null) ? 0 : schemeIds.hashCode());return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;SchemeItems other = (SchemeItems) obj;if (catalogIds == null) {if (other.catalogIds != null)return false;} else if (!catalogIds.equals(other.catalogIds))return false;if (schemeIds == null) {if (other.schemeIds != null)return false;} else if (!schemeIds.equals(other.schemeIds))return false;return true;}}