public boolean equals(Object obj){
  if (obj instanceof ActivationDesc) {
    ActivationDesc desc=(ActivationDesc)obj;
    return ((groupID == null ? desc.groupID == null : groupID.equals(desc.groupID)) && (className == null ? desc.className == null : className.equals(desc.className)) && (location == null ? desc.location == null : location.equals(desc.location))&& (data == null ? desc.data == null : data.equals(desc.data))&& (restart == desc.restart));
  }
 else {
    return false;
  }
}

public boolean equals ( Object obj ) { if ( obj instanceof ActivationDesc ) { ActivationDesc desc = ( ActivationDesc ) obj ; return ( ( groupID == null ? desc . groupID == null : groupID . equals ( desc . groupID ) ) && ( className == null ? desc . className == null : className . equals ( desc . className ) ) && ( location == null ? desc . location == null : location . equals ( desc . location ) ) && ( data == null ? desc . data == null : data . equals ( desc . data ) ) && ( restart == desc . restart ) ) ; } else { return false ; } }
compares two activation descriptors for content equality .
