@Override public boolean equal(PolicyComponent policyComponent) { if (policyComponent == this) { return true; } if (policyComponent.getType() != Constants.TYPE_ASSERTION || !(policyComponent instanceof Assertion) || !getName().equals(((Assertion)policyComponent).getName())) { return false; } JaxbAssertion<HTTPServerPolicy> other = JaxbAssertion.cast((Assertion)policyComponent); return new ServerPolicyCalculator().equals(this.getData(), other.getData()); }
@Override protected JaxbAssertion<HTTPServerPolicy> buildAssertion() { return new HTTPServerPolicyAssertion(); }
@Override public boolean equal(PolicyComponent policyComponent) { if (policyComponent == this) { return true; } if (policyComponent.getType() != Constants.TYPE_ASSERTION || !(policyComponent instanceof Assertion) || !getName().equals(((Assertion)policyComponent).getName())) { return false; } JaxbAssertion<HTTPServerPolicy> other = JaxbAssertion.cast((Assertion)policyComponent); return new ServerPolicyCalculator().equals(this.getData(), other.getData()); }
@Override public boolean equal(PolicyComponent policyComponent) { if (policyComponent == this) { return true; } if (policyComponent.getType() != Constants.TYPE_ASSERTION || !(policyComponent instanceof Assertion) || !getName().equals(((Assertion)policyComponent).getName())) { return false; } JaxbAssertion<HTTPServerPolicy> other = JaxbAssertion.cast((Assertion)policyComponent); return new ServerPolicyCalculator().equals(this.getData(), other.getData()); }
@Override protected Assertion clone(boolean optional) { HTTPServerPolicyAssertion a = new HTTPServerPolicyAssertion(); a.setData(getData()); return a; } }
@Override protected Assertion clone(boolean optional) { HTTPServerPolicyAssertion a = new HTTPServerPolicyAssertion(); a.setData(getData()); return a; } }
@Override protected JaxbAssertion<HTTPServerPolicy> buildAssertion() { return new HTTPServerPolicyAssertion(); }
@Override protected JaxbAssertion<HTTPServerPolicy> buildAssertion() { return new HTTPServerPolicyAssertion(); }
@Override protected Assertion clone(boolean optional) { HTTPServerPolicyAssertion a = new HTTPServerPolicyAssertion(); a.setData(getData()); return a; } }