public boolean equals(Object other){
  if (!(other instanceof PolicyInformation))   return false;
  PolicyInformation piOther=(PolicyInformation)other;
  if (!policyIdentifier.equals(piOther.getPolicyIdentifier()))   return false;
  return policyQualifiers.equals(piOther.getPolicyQualifiers());
}

public boolean equals ( Object other ) { if ( ! ( other instanceof PolicyInformation ) ) return false ; PolicyInformation piOther = ( PolicyInformation ) other ; if ( ! policyIdentifier . equals ( piOther . getPolicyIdentifier ( ) ) ) return false ; return policyQualifiers . equals ( piOther . getPolicyQualifiers ( ) ) ; }
compare this policyinformation with another object for equality
