Esempio n. 1
0
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof LocationData)) return false;
   LocationData other = (LocationData) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       true
           && ((this.address == null && other.getAddress() == null)
               || (this.address != null && this.address.equals(other.getAddress())))
           && ((this.reportStatus == null && other.getReportStatus() == null)
               || (this.reportStatus != null && this.reportStatus.equals(other.getReportStatus())))
           && ((this.currentLocation == null && other.getCurrentLocation() == null)
               || (this.currentLocation != null
                   && this.currentLocation.equals(other.getCurrentLocation())))
           && ((this.errorInformation == null && other.getErrorInformation() == null)
               || (this.errorInformation != null
                   && this.errorInformation.equals(other.getErrorInformation())));
   __equalsCalc = null;
   return _equals;
 }
Esempio n. 2
0
 public LocationData fromBytes(ByteBuf buf) {
   LocationData result = new LocationData();
   result.fromBytes(buf);
   return result;
 }