@Override public boolean equals(final Object obj){
  if (this == obj)   return true;
  if (obj == null)   return false;
  if (getClass() != obj.getClass())   return false;
  SupervisionEventImpl other=(SupervisionEventImpl)obj;
  if (entity == null) {
    if (other.entity != null)     return false;
  }
 else   if (!entity.equals(other.entity))   return false;
  if (entityId == null) {
    if (other.entityId != null)     return false;
  }
 else   if (!entityId.equals(other.entityId))   return false;
  if (status == null) {
    if (other.status != null)     return false;
  }
 else   if (!status.equals(other.status))   return false;
  return true;
}

@ Override public boolean equals ( final Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( getClass ( ) != obj . getClass ( ) ) return false ; SupervisionEventImpl other = ( SupervisionEventImpl ) obj ; if ( entity == null ) { if ( other . entity != null ) return false ; } else if ( ! entity . equals ( other . entity ) ) return false ; if ( entityId == null ) { if ( other . entityId != null ) return false ; } else if ( ! entityId . equals ( other . entityId ) ) return false ; if ( status == null ) { if ( other . status != null ) return false ; } else if ( ! status . equals ( other . status ) ) return false ; return true ; }
compares all fields expect the free text message and the event time .
