示例#1
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   LoginAggregationImpl other = (LoginAggregationImpl) obj;
   if (dateDimension == null) {
     if (other.dateDimension != null) return false;
   } else if (!dateDimension.equals(other.dateDimension)) return false;
   if (aggregatedGroup == null) {
     if (other.aggregatedGroup != null) return false;
   } else if (!aggregatedGroup.equals(other.aggregatedGroup)) return false;
   if (interval != other.interval) return false;
   if (timeDimension == null) {
     if (other.timeDimension != null) return false;
   } else if (!timeDimension.equals(other.timeDimension)) return false;
   return true;
 }