예제 #1
0
 public synchronized boolean equals(Object obj) {
   if (!(obj instanceof ProcessResult)) return false;
   ProcessResult other = (ProcessResult) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       true
           && ((this.actorIds == null && other.getActorIds() == null)
               || (this.actorIds != null
                   && java.util.Arrays.equals(this.actorIds, other.getActorIds())))
           && ((this.entityId == null && other.getEntityId() == null)
               || (this.entityId != null && this.entityId.equals(other.getEntityId())))
           && ((this.errors == null && other.getErrors() == null)
               || (this.errors != null && java.util.Arrays.equals(this.errors, other.getErrors())))
           && ((this.instanceId == null && other.getInstanceId() == null)
               || (this.instanceId != null && this.instanceId.equals(other.getInstanceId())))
           && ((this.instanceStatus == null && other.getInstanceStatus() == null)
               || (this.instanceStatus != null
                   && this.instanceStatus.equals(other.getInstanceStatus())))
           && ((this.newWorkitemIds == null && other.getNewWorkitemIds() == null)
               || (this.newWorkitemIds != null
                   && java.util.Arrays.equals(this.newWorkitemIds, other.getNewWorkitemIds())))
           && this.success == other.isSuccess();
   __equalsCalc = null;
   return _equals;
 }