Ejemplo n.º 1
0
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof ServerData)) return false;
   ServerData other = (ServerData) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       true
           && ((this.ID == null && other.getID() == null)
               || (this.ID != null && this.ID.equals(other.getID())))
           && ((this.name == null && other.getName() == null)
               || (this.name != null && this.name.equals(other.getName())))
           && ((this.controlPort == null && other.getControlPort() == null)
               || (this.controlPort != null && this.controlPort.equals(other.getControlPort())))
           && ((this.firewallCompatibility == null && other.getFirewallCompatibility() == null)
               || (this.firewallCompatibility != null
                   && this.firewallCompatibility.equals(other.getFirewallCompatibility())))
           && ((this.multicast == null && other.getMulticast() == null)
               || (this.multicast != null && this.multicast.equals(other.getMulticast())))
           && ((this.loadBalancerScore == null && other.getLoadBalancerScore() == null)
               || (this.loadBalancerScore != null
                   && this.loadBalancerScore.equals(other.getLoadBalancerScore())))
           && ((this.replicationUN == null && other.getReplicationUN() == null)
               || (this.replicationUN != null
                   && this.replicationUN.equals(other.getReplicationUN())))
           && ((this.replicationPW == null && other.getReplicationPW() == null)
               || (this.replicationPW != null
                   && this.replicationPW.equals(other.getReplicationPW())))
           && ((this.createdDate == null && other.getCreatedDate() == null)
               || (this.createdDate != null && this.createdDate.equals(other.getCreatedDate())));
   __equalsCalc = null;
   return _equals;
 }