Package com.openbravo.ws.customers

Examples of com.openbravo.ws.customers.Location


    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof Location)) {
            return false;
        }
        Location other = (Location) obj;
        if (obj == null) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
                ((this.address1 == null && other.getAddress1() == null) ||
                (this.address1 != null &&
                this.address1.equals(other.getAddress1()))) &&
                ((this.address2 == null && other.getAddress2() == null) ||
                (this.address2 != null &&
                this.address2.equals(other.getAddress2()))) &&
                ((this.businessPartnerId == null && other.getBusinessPartnerId() == null) ||
                (this.businessPartnerId != null &&
                this.businessPartnerId.equals(other.getBusinessPartnerId()))) &&
                ((this.city == null && other.getCity() == null) ||
                (this.city != null &&
                this.city.equals(other.getCity()))) &&
                ((this.clientId == null && other.getClientId() == null) ||
                (this.clientId != null &&
                this.clientId.equals(other.getClientId()))) &&
                ((this.country == null && other.getCountry() == null) ||
                (this.country != null &&
                this.country.equals(other.getCountry()))) &&
                ((this.id == null && other.getId() == null) ||
                (this.id != null &&
                this.id.equals(other.getId()))) &&
                ((this.postal == null && other.getPostal() == null) ||
                (this.postal != null &&
                this.postal.equals(other.getPostal()))) &&
                ((this.region == null && other.getRegion() == null) ||
                (this.region != null &&
                this.region.equals(other.getRegion())));
        __equalsCalc = null;
        return _equals;
    }
View Full Code Here

TOP

Related Classes of com.openbravo.ws.customers.Location

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.