Ejemplo n.º 1
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   LineData other = (LineData) obj;
   if (chartEvent == null) {
     if (other.chartEvent != null) return false;
   } else if (!chartEvent.equals(other.chartEvent)) return false;
   if (dataList == null) {
     if (other.dataList != null) return false;
   } else if (!dataList.equals(other.dataList)) return false;
   if (hasData != other.hasData) return false;
   if (kpiInfo == null) {
     if (other.kpiInfo != null) return false;
   } else if (!kpiInfo.equals(other.kpiInfo)) return false;
   if (lineType != other.lineType) return false;
   return true;
 }