@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; final InteractionParameter other = (InteractionParameter) obj; if (interaction == null) { if (other.interaction != null) return false; } else if (!interaction.equals(other.interaction, false)) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; final InteractionParameter other = (InteractionParameter) obj; if (interaction == null) { if (other.interaction != null) return false; } else if (!interaction.equals(other.interaction, false)) return false; return true; } }
public boolean equals(Object obj, boolean checkComponents) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; final ComponentParameter other = (ComponentParameter) obj; if (checkComponents){ if (component == null) { if (other.component != null) return false; } else if (!component.equals(other.component)) return false; } return true; } }
public boolean equals(Object obj, boolean checkComponents) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; final ComponentParameter other = (ComponentParameter) obj; if (checkComponents){ if (component == null) { if (other.component != null) return false; } else if (!component.equals(other.component)) return false; } return true; } }