/** * {@inheritDoc} */ public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((authenticationMechanismType == null) ? 0 : authenticationMechanismType.hashCode()); result = prime * result + ((credentialInterface == null) ? 0 : credentialInterface.hashCode()); result = prime * result + ((description == null) ? 0 : description.hashCode()); result = prime * result + ((id == null) ? 0 : id.hashCode()); result = prime * result + ((cIId == null) ? 0 : cIId.hashCode()); return result; }