public boolean equals()

in src/main/java/org/apache/flink/benchmark/thrift/MyPojo.java [594:655]


    public boolean equals(MyPojo that) {
        if (that == null) return false;
        if (this == that) return true;

        boolean this_present_id = true;
        boolean that_present_id = true;
        if (this_present_id || that_present_id) {
            if (!(this_present_id && that_present_id)) return false;
            if (this.id != that.id) return false;
        }

        boolean this_present_name = true && this.isSetName();
        boolean that_present_name = true && that.isSetName();
        if (this_present_name || that_present_name) {
            if (!(this_present_name && that_present_name)) return false;
            if (!this.name.equals(that.name)) return false;
        }

        boolean this_present_operationName = true && this.isSetOperationName();
        boolean that_present_operationName = true && that.isSetOperationName();
        if (this_present_operationName || that_present_operationName) {
            if (!(this_present_operationName && that_present_operationName)) return false;
            if (!this.operationName.equals(that.operationName)) return false;
        }

        boolean this_present_operations = true && this.isSetOperations();
        boolean that_present_operations = true && that.isSetOperations();
        if (this_present_operations || that_present_operations) {
            if (!(this_present_operations && that_present_operations)) return false;
            if (!this.operations.equals(that.operations)) return false;
        }

        boolean this_present_otherId1 = true;
        boolean that_present_otherId1 = true;
        if (this_present_otherId1 || that_present_otherId1) {
            if (!(this_present_otherId1 && that_present_otherId1)) return false;
            if (this.otherId1 != that.otherId1) return false;
        }

        boolean this_present_otherId2 = true;
        boolean that_present_otherId2 = true;
        if (this_present_otherId2 || that_present_otherId2) {
            if (!(this_present_otherId2 && that_present_otherId2)) return false;
            if (this.otherId2 != that.otherId2) return false;
        }

        boolean this_present_otherId3 = true;
        boolean that_present_otherId3 = true;
        if (this_present_otherId3 || that_present_otherId3) {
            if (!(this_present_otherId3 && that_present_otherId3)) return false;
            if (this.otherId3 != that.otherId3) return false;
        }

        boolean this_present_someObject = true && this.isSetSomeObject();
        boolean that_present_someObject = true && that.isSetSomeObject();
        if (this_present_someObject || that_present_someObject) {
            if (!(this_present_someObject && that_present_someObject)) return false;
            if (!this.someObject.equals(that.someObject)) return false;
        }

        return true;
    }