コード例 #1
0
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = super.hashCode();

    long tmp;
    if (_MSSP_TransID != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_MSSP_TransID)) {
      result = 37 * result + _MSSP_TransID.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_MSSP_TransID);
    }
    if (_secureMethods != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_secureMethods)) {
      result = 37 * result + _secureMethods.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_secureMethods);
    }
    if (_matchingMSSPCertificates != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_matchingMSSPCertificates)) {
      result = 37 * result + _matchingMSSPCertificates.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_matchingMSSPCertificates);
    }
    if (_matchingAPCertificates != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_matchingAPCertificates)) {
      result = 37 * result + _matchingAPCertificates.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_matchingAPCertificates);
    }
    if (_matchingSigAlgList != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_matchingSigAlgList)) {
      result = 37 * result + _matchingSigAlgList.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_matchingSigAlgList);
    }

    return result;
  }
コード例 #2
0
ファイル: DigestMethodType.java プロジェクト: pihvi/laverca
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = 17;

    long tmp;
    if (_algorithm != null && !org.castor.core.util.CycleBreaker.startingToCycle(_algorithm)) {
      result = 37 * result + _algorithm.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_algorithm);
    }
    if (_content != null && !org.castor.core.util.CycleBreaker.startingToCycle(_content)) {
      result = 37 * result + _content.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_content);
    }
    if (_anyObject != null && !org.castor.core.util.CycleBreaker.startingToCycle(_anyObject)) {
      result = 37 * result + _anyObject.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_anyObject);
    }

    return result;
  }
コード例 #3
0
ファイル: RootCAs.java プロジェクト: pihvi/laverca
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = 17;

    long tmp;
    if (_DNList != null && !org.castor.core.util.CycleBreaker.startingToCycle(_DNList)) {
      result = 37 * result + _DNList.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_DNList);
    }

    return result;
  }
コード例 #4
0
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = 17;

    long tmp;
    if (_version != null && !org.castor.core.util.CycleBreaker.startingToCycle(_version)) {
      result = 37 * result + _version.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_version);
    }
    if (_userExtension != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_userExtension)) {
      result = 37 * result + _userExtension.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_userExtension);
    }
    if (_secondaryServiceExtension != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_secondaryServiceExtension)) {
      result = 37 * result + _secondaryServiceExtension.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_secondaryServiceExtension);
    }

    return result;
  }
コード例 #5
0
ファイル: PGPDataType.java プロジェクト: pihvi/laverca
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = 17;

    long tmp;
    if (_choiceValue != null && !org.castor.core.util.CycleBreaker.startingToCycle(_choiceValue)) {
      result = 37 * result + _choiceValue.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_choiceValue);
    }
    if (_PGPDataTypeSequence != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_PGPDataTypeSequence)) {
      result = 37 * result + _PGPDataTypeSequence.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_PGPDataTypeSequence);
    }
    if (_PGPDataTypeSequence2 != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_PGPDataTypeSequence2)) {
      result = 37 * result + _PGPDataTypeSequence2.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_PGPDataTypeSequence2);
    }

    return result;
  }
コード例 #6
0
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = 17;

    long tmp;
    if (_systemId != null && !org.castor.core.util.CycleBreaker.startingToCycle(_systemId)) {
      result = 37 * result + _systemId.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_systemId);
    }
    if (_unitId != null && !org.castor.core.util.CycleBreaker.startingToCycle(_unitId)) {
      result = 37 * result + _unitId.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_unitId);
    }
    if (_userId != null && !org.castor.core.util.CycleBreaker.startingToCycle(_userId)) {
      result = 37 * result + _userId.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_userId);
    }
    if (_esfKey != null && !org.castor.core.util.CycleBreaker.startingToCycle(_esfKey)) {
      result = 37 * result + _esfKey.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_esfKey);
    }
    if (_action != null && !org.castor.core.util.CycleBreaker.startingToCycle(_action)) {
      result = 37 * result + _action.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_action);
    }
    if (_reason != null && !org.castor.core.util.CycleBreaker.startingToCycle(_reason)) {
      result = 37 * result + _reason.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_reason);
    }

    return result;
  }
コード例 #7
0
ファイル: RootCAs.java プロジェクト: pihvi/laverca
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (obj instanceof RootCAs) {

      RootCAs temp = (RootCAs) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._DNList != null) {
        if (temp._DNList == null) return false;
        if (this._DNList != temp._DNList) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._DNList);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._DNList);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._DNList);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._DNList);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._DNList.equals(temp._DNList)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._DNList);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._DNList);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._DNList);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._DNList);
          }
        }
      } else if (temp._DNList != null) return false;
      return true;
    }
    return false;
  }
コード例 #8
0
ファイル: EnquiryRq.java プロジェクト: jcmartin2889/Repo
  /**
   * Overrides the java.lang.Object.hashCode method.
   *
   * <p>The following steps came from <b>Effective Java Programming Language Guide</b> by Joshua
   * Bloch, Chapter 3
   *
   * @return a hash code value for the object.
   */
  public int hashCode() {
    int result = 17;

    long tmp;
    if (_requestedPage != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_requestedPage)) {
      result = 37 * result + _requestedPage.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_requestedPage);
    }
    if (_numberOfRows != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_numberOfRows)) {
      result = 37 * result + _numberOfRows.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_numberOfRows);
    }
    if (_pagingInformation != null
        && !org.castor.core.util.CycleBreaker.startingToCycle(_pagingInformation)) {
      result = 37 * result + _pagingInformation.hashCode();
      org.castor.core.util.CycleBreaker.releaseCycleHandle(_pagingInformation);
    }

    return result;
  }
コード例 #9
0
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (obj instanceof ExtensionDataRs) {

      ExtensionDataRs temp = (ExtensionDataRs) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._version != null) {
        if (temp._version == null) return false;
        if (this._version != temp._version) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._version);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._version);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._version);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._version);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._version.equals(temp._version)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._version);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._version);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._version);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._version);
          }
        }
      } else if (temp._version != null) return false;
      if (this._userExtension != null) {
        if (temp._userExtension == null) return false;
        if (this._userExtension != temp._userExtension) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._userExtension);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._userExtension);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._userExtension);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._userExtension);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._userExtension.equals(temp._userExtension)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._userExtension);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._userExtension);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._userExtension);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._userExtension);
          }
        }
      } else if (temp._userExtension != null) return false;
      if (this._secondaryServiceExtension != null) {
        if (temp._secondaryServiceExtension == null) return false;
        if (this._secondaryServiceExtension != temp._secondaryServiceExtension) {
          thcycle =
              org.castor.core.util.CycleBreaker.startingToCycle(this._secondaryServiceExtension);
          tmcycle =
              org.castor.core.util.CycleBreaker.startingToCycle(temp._secondaryServiceExtension);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._secondaryServiceExtension);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._secondaryServiceExtension);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._secondaryServiceExtension.equals(temp._secondaryServiceExtension)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._secondaryServiceExtension);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._secondaryServiceExtension);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._secondaryServiceExtension);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._secondaryServiceExtension);
          }
        }
      } else if (temp._secondaryServiceExtension != null) return false;
      return true;
    }
    return false;
  }
コード例 #10
0
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (super.equals(obj) == false) return false;

    if (obj instanceof MSS_HandshakeRespType) {

      MSS_HandshakeRespType temp = (MSS_HandshakeRespType) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._MSSP_TransID != null) {
        if (temp._MSSP_TransID == null) return false;
        if (this._MSSP_TransID != temp._MSSP_TransID) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._MSSP_TransID);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._MSSP_TransID);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._MSSP_TransID);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._MSSP_TransID);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._MSSP_TransID.equals(temp._MSSP_TransID)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._MSSP_TransID);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._MSSP_TransID);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._MSSP_TransID);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._MSSP_TransID);
          }
        }
      } else if (temp._MSSP_TransID != null) return false;
      if (this._secureMethods != null) {
        if (temp._secureMethods == null) return false;
        if (this._secureMethods != temp._secureMethods) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._secureMethods);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._secureMethods);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._secureMethods);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._secureMethods);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._secureMethods.equals(temp._secureMethods)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._secureMethods);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._secureMethods);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._secureMethods);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._secureMethods);
          }
        }
      } else if (temp._secureMethods != null) return false;
      if (this._matchingMSSPCertificates != null) {
        if (temp._matchingMSSPCertificates == null) return false;
        if (this._matchingMSSPCertificates != temp._matchingMSSPCertificates) {
          thcycle =
              org.castor.core.util.CycleBreaker.startingToCycle(this._matchingMSSPCertificates);
          tmcycle =
              org.castor.core.util.CycleBreaker.startingToCycle(temp._matchingMSSPCertificates);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingMSSPCertificates);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingMSSPCertificates);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._matchingMSSPCertificates.equals(temp._matchingMSSPCertificates)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingMSSPCertificates);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingMSSPCertificates);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingMSSPCertificates);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingMSSPCertificates);
          }
        }
      } else if (temp._matchingMSSPCertificates != null) return false;
      if (this._matchingAPCertificates != null) {
        if (temp._matchingAPCertificates == null) return false;
        if (this._matchingAPCertificates != temp._matchingAPCertificates) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._matchingAPCertificates);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._matchingAPCertificates);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingAPCertificates);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingAPCertificates);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._matchingAPCertificates.equals(temp._matchingAPCertificates)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingAPCertificates);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingAPCertificates);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingAPCertificates);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingAPCertificates);
          }
        }
      } else if (temp._matchingAPCertificates != null) return false;
      if (this._matchingSigAlgList != null) {
        if (temp._matchingSigAlgList == null) return false;
        if (this._matchingSigAlgList != temp._matchingSigAlgList) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._matchingSigAlgList);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._matchingSigAlgList);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingSigAlgList);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingSigAlgList);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._matchingSigAlgList.equals(temp._matchingSigAlgList)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingSigAlgList);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingSigAlgList);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._matchingSigAlgList);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._matchingSigAlgList);
          }
        }
      } else if (temp._matchingSigAlgList != null) return false;
      return true;
    }
    return false;
  }
コード例 #11
0
ファイル: DigestMethodType.java プロジェクト: pihvi/laverca
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (obj instanceof DigestMethodType) {

      DigestMethodType temp = (DigestMethodType) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._algorithm != null) {
        if (temp._algorithm == null) return false;
        if (this._algorithm != temp._algorithm) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._algorithm);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._algorithm);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._algorithm);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._algorithm);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._algorithm.equals(temp._algorithm)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._algorithm);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._algorithm);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._algorithm);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._algorithm);
          }
        }
      } else if (temp._algorithm != null) return false;
      if (this._content != null) {
        if (temp._content == null) return false;
        if (this._content != temp._content) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._content);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._content);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._content);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._content);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._content.equals(temp._content)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._content);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._content);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._content);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._content);
          }
        }
      } else if (temp._content != null) return false;
      if (this._anyObject != null) {
        if (temp._anyObject == null) return false;
        if (this._anyObject != temp._anyObject) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._anyObject);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._anyObject);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._anyObject);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._anyObject);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._anyObject.equals(temp._anyObject)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._anyObject);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._anyObject);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._anyObject);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._anyObject);
          }
        }
      } else if (temp._anyObject != null) return false;
      return true;
    }
    return false;
  }
コード例 #12
0
ファイル: PGPDataType.java プロジェクト: pihvi/laverca
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (obj instanceof PGPDataType) {

      PGPDataType temp = (PGPDataType) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._choiceValue != null) {
        if (temp._choiceValue == null) return false;
        if (this._choiceValue != temp._choiceValue) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._choiceValue);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._choiceValue);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._choiceValue);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._choiceValue);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._choiceValue.equals(temp._choiceValue)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._choiceValue);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._choiceValue);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._choiceValue);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._choiceValue);
          }
        }
      } else if (temp._choiceValue != null) return false;
      if (this._PGPDataTypeSequence != null) {
        if (temp._PGPDataTypeSequence == null) return false;
        if (this._PGPDataTypeSequence != temp._PGPDataTypeSequence) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._PGPDataTypeSequence);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._PGPDataTypeSequence);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._PGPDataTypeSequence);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._PGPDataTypeSequence);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._PGPDataTypeSequence.equals(temp._PGPDataTypeSequence)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._PGPDataTypeSequence);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._PGPDataTypeSequence);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._PGPDataTypeSequence);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._PGPDataTypeSequence);
          }
        }
      } else if (temp._PGPDataTypeSequence != null) return false;
      if (this._PGPDataTypeSequence2 != null) {
        if (temp._PGPDataTypeSequence2 == null) return false;
        if (this._PGPDataTypeSequence2 != temp._PGPDataTypeSequence2) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._PGPDataTypeSequence2);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._PGPDataTypeSequence2);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._PGPDataTypeSequence2);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._PGPDataTypeSequence2);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._PGPDataTypeSequence2.equals(temp._PGPDataTypeSequence2)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._PGPDataTypeSequence2);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._PGPDataTypeSequence2);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._PGPDataTypeSequence2);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._PGPDataTypeSequence2);
          }
        }
      } else if (temp._PGPDataTypeSequence2 != null) return false;
      return true;
    }
    return false;
  }
コード例 #13
0
ファイル: EnquiryRq.java プロジェクト: jcmartin2889/Repo
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (obj instanceof EnquiryRq) {

      EnquiryRq temp = (EnquiryRq) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._requestedPage != null) {
        if (temp._requestedPage == null) return false;
        if (this._requestedPage != temp._requestedPage) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._requestedPage);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._requestedPage);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._requestedPage);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._requestedPage);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._requestedPage.equals(temp._requestedPage)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._requestedPage);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._requestedPage);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._requestedPage);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._requestedPage);
          }
        }
      } else if (temp._requestedPage != null) return false;
      if (this._numberOfRows != null) {
        if (temp._numberOfRows == null) return false;
        if (this._numberOfRows != temp._numberOfRows) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._numberOfRows);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._numberOfRows);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._numberOfRows);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._numberOfRows);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._numberOfRows.equals(temp._numberOfRows)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._numberOfRows);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._numberOfRows);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._numberOfRows);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._numberOfRows);
          }
        }
      } else if (temp._numberOfRows != null) return false;
      if (this._pagingInformation != null) {
        if (temp._pagingInformation == null) return false;
        if (this._pagingInformation != temp._pagingInformation) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._pagingInformation);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._pagingInformation);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._pagingInformation);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._pagingInformation);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._pagingInformation.equals(temp._pagingInformation)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._pagingInformation);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._pagingInformation);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._pagingInformation);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._pagingInformation);
          }
        }
      } else if (temp._pagingInformation != null) return false;
      return true;
    }
    return false;
  }
コード例 #14
0
  /**
   * Overrides the java.lang.Object.equals method.
   *
   * @param obj
   * @return true if the objects are equal.
   */
  @Override()
  public boolean equals(final java.lang.Object obj) {
    if (this == obj) return true;

    if (obj instanceof UpdateEsfStatusRqHeader) {

      UpdateEsfStatusRqHeader temp = (UpdateEsfStatusRqHeader) obj;
      boolean thcycle;
      boolean tmcycle;
      if (this._systemId != null) {
        if (temp._systemId == null) return false;
        if (this._systemId != temp._systemId) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._systemId);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._systemId);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._systemId);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._systemId);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._systemId.equals(temp._systemId)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._systemId);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._systemId);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._systemId);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._systemId);
          }
        }
      } else if (temp._systemId != null) return false;
      if (this._unitId != null) {
        if (temp._unitId == null) return false;
        if (this._unitId != temp._unitId) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._unitId);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._unitId);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._unitId);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._unitId);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._unitId.equals(temp._unitId)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._unitId);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._unitId);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._unitId);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._unitId);
          }
        }
      } else if (temp._unitId != null) return false;
      if (this._userId != null) {
        if (temp._userId == null) return false;
        if (this._userId != temp._userId) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._userId);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._userId);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._userId);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._userId);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._userId.equals(temp._userId)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._userId);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._userId);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._userId);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._userId);
          }
        }
      } else if (temp._userId != null) return false;
      if (this._esfKey != null) {
        if (temp._esfKey == null) return false;
        if (this._esfKey != temp._esfKey) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._esfKey);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._esfKey);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._esfKey);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._esfKey);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._esfKey.equals(temp._esfKey)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._esfKey);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._esfKey);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._esfKey);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._esfKey);
          }
        }
      } else if (temp._esfKey != null) return false;
      if (this._action != null) {
        if (temp._action == null) return false;
        if (this._action != temp._action) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._action);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._action);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._action);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._action);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._action.equals(temp._action)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._action);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._action);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._action);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._action);
          }
        }
      } else if (temp._action != null) return false;
      if (this._reason != null) {
        if (temp._reason == null) return false;
        if (this._reason != temp._reason) {
          thcycle = org.castor.core.util.CycleBreaker.startingToCycle(this._reason);
          tmcycle = org.castor.core.util.CycleBreaker.startingToCycle(temp._reason);
          if (thcycle != tmcycle) {
            if (!thcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._reason);
            }
            ;
            if (!tmcycle) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._reason);
            }
            ;
            return false;
          }
          if (!thcycle) {
            if (!this._reason.equals(temp._reason)) {
              org.castor.core.util.CycleBreaker.releaseCycleHandle(this._reason);
              org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._reason);
              return false;
            }
            org.castor.core.util.CycleBreaker.releaseCycleHandle(this._reason);
            org.castor.core.util.CycleBreaker.releaseCycleHandle(temp._reason);
          }
        }
      } else if (temp._reason != null) return false;
      return true;
    }
    return false;
  }