Go to most recent revision | 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> itemIds;public List<Integer> getSchemeIds() {return schemeIds;}public void setSchemeIds(List<Integer> schemeIds) {this.schemeIds = schemeIds;}public List<Integer> getItemIds() {return itemIds;}public void setItemIds(List<Integer> itemIds) {this.itemIds = itemIds;}@Overridepublic String toString() {return "SchemeItems [schemeIds=" + schemeIds + ", itemIds=" + itemIds + "]";}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((itemIds == null) ? 0 : itemIds.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 (itemIds == null) {if (other.itemIds != null)return false;} else if (!itemIds.equals(other.itemIds))return false;if (schemeIds == null) {if (other.schemeIds != null)return false;} else if (!schemeIds.equals(other.schemeIds))return false;return true;}}