public boolean equals()

in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java [624:703]


  public boolean equals(ApplicationInterfaceDescription that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_applicationInterfaceId = true && this.isSetApplicationInterfaceId();
    boolean that_present_applicationInterfaceId = true && that.isSetApplicationInterfaceId();
    if (this_present_applicationInterfaceId || that_present_applicationInterfaceId) {
      if (!(this_present_applicationInterfaceId && that_present_applicationInterfaceId))
        return false;
      if (!this.applicationInterfaceId.equals(that.applicationInterfaceId))
        return false;
    }

    boolean this_present_applicationName = true && this.isSetApplicationName();
    boolean that_present_applicationName = true && that.isSetApplicationName();
    if (this_present_applicationName || that_present_applicationName) {
      if (!(this_present_applicationName && that_present_applicationName))
        return false;
      if (!this.applicationName.equals(that.applicationName))
        return false;
    }

    boolean this_present_applicationDescription = true && this.isSetApplicationDescription();
    boolean that_present_applicationDescription = true && that.isSetApplicationDescription();
    if (this_present_applicationDescription || that_present_applicationDescription) {
      if (!(this_present_applicationDescription && that_present_applicationDescription))
        return false;
      if (!this.applicationDescription.equals(that.applicationDescription))
        return false;
    }

    boolean this_present_applicationModules = true && this.isSetApplicationModules();
    boolean that_present_applicationModules = true && that.isSetApplicationModules();
    if (this_present_applicationModules || that_present_applicationModules) {
      if (!(this_present_applicationModules && that_present_applicationModules))
        return false;
      if (!this.applicationModules.equals(that.applicationModules))
        return false;
    }

    boolean this_present_applicationInputs = true && this.isSetApplicationInputs();
    boolean that_present_applicationInputs = true && that.isSetApplicationInputs();
    if (this_present_applicationInputs || that_present_applicationInputs) {
      if (!(this_present_applicationInputs && that_present_applicationInputs))
        return false;
      if (!this.applicationInputs.equals(that.applicationInputs))
        return false;
    }

    boolean this_present_applicationOutputs = true && this.isSetApplicationOutputs();
    boolean that_present_applicationOutputs = true && that.isSetApplicationOutputs();
    if (this_present_applicationOutputs || that_present_applicationOutputs) {
      if (!(this_present_applicationOutputs && that_present_applicationOutputs))
        return false;
      if (!this.applicationOutputs.equals(that.applicationOutputs))
        return false;
    }

    boolean this_present_archiveWorkingDirectory = true && this.isSetArchiveWorkingDirectory();
    boolean that_present_archiveWorkingDirectory = true && that.isSetArchiveWorkingDirectory();
    if (this_present_archiveWorkingDirectory || that_present_archiveWorkingDirectory) {
      if (!(this_present_archiveWorkingDirectory && that_present_archiveWorkingDirectory))
        return false;
      if (this.archiveWorkingDirectory != that.archiveWorkingDirectory)
        return false;
    }

    boolean this_present_hasOptionalFileInputs = true && this.isSetHasOptionalFileInputs();
    boolean that_present_hasOptionalFileInputs = true && that.isSetHasOptionalFileInputs();
    if (this_present_hasOptionalFileInputs || that_present_hasOptionalFileInputs) {
      if (!(this_present_hasOptionalFileInputs && that_present_hasOptionalFileInputs))
        return false;
      if (this.hasOptionalFileInputs != that.hasOptionalFileInputs)
        return false;
    }

    return true;
  }