@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof WMResourcePlan) return this.equals((WMResourcePlan)that); return false; }
public boolean equals(WMCreateResourcePlanRequest that) { if (that == null) return false; boolean this_present_resourcePlan = true && this.isSetResourcePlan(); boolean that_present_resourcePlan = true && that.isSetResourcePlan(); if (this_present_resourcePlan || that_present_resourcePlan) { if (!(this_present_resourcePlan && that_present_resourcePlan)) return false; if (!this.resourcePlan.equals(that.resourcePlan)) return false; } boolean this_present_copyFrom = true && this.isSetCopyFrom(); boolean that_present_copyFrom = true && that.isSetCopyFrom(); if (this_present_copyFrom || that_present_copyFrom) { if (!(this_present_copyFrom && that_present_copyFrom)) return false; if (!this.copyFrom.equals(that.copyFrom)) return false; } return true; }
if (!(this_present_plan && that_present_plan)) return false; if (!this.plan.equals(that.plan)) return false;
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof WMResourcePlan) return this.equals((WMResourcePlan)that); return false; }
if (!(this_present_plan && that_present_plan)) return false; if (!this.plan.equals(that.plan)) return false;