@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        Policy other = (Policy) obj;
        if (policyImpl == null) {
            if (other.policyImpl != null)
                return false;
        } else if (!policyImpl.equals(other.policyImpl))
            return false;
        if (policyJsonConfig == null) {
            if (other.policyJsonConfig != null)
                return false;
        } else if (!policyJsonConfig.equals(other.policyJsonConfig))
            return false;
        return true;
    }
@see java.lang.Object#equals(java.lang.Object)
gateway/engine/beans/src/main/java/io/apiman/gateway/engine/beans/Policy.java