Class ExternalDatabase

All Implemented Interfaces:
gemma.gsec.model.Securable, Auditable, Securable, Describable, Versioned, Identifiable

public class ExternalDatabase extends AbstractDescribable implements Auditable, Versioned
Author:
Paul
  • Constructor Details

    • ExternalDatabase

      public ExternalDatabase()
  • Method Details

    • getDatabaseSupplier

      public Contact getDatabaseSupplier()
    • setDatabaseSupplier

      public void setDatabaseSupplier(Contact databaseSupplier)
    • getFtpUri

      public String getFtpUri()
    • setFtpUri

      public void setFtpUri(String ftpUri)
    • getLocalInstallDbName

      public String getLocalInstallDbName()
      Returns:
      The name of the database on a local server.
    • setLocalInstallDbName

      public void setLocalInstallDbName(String localInstallDbName)
    • getType

      public DatabaseType getType()
    • setType

      public void setType(DatabaseType type)
    • getWebUri

      public String getWebUri()
    • setWebUri

      public void setWebUri(String webUri)
    • getExternalDatabases

      public Set<ExternalDatabase> getExternalDatabases()
    • setExternalDatabases

      public void setExternalDatabases(Set<ExternalDatabase> externalDatabases)
    • getAuditTrail

      public AuditTrail getAuditTrail()
      Specified by:
      getAuditTrail in interface Auditable
    • setAuditTrail

      public void setAuditTrail(AuditTrail auditTrail)
      Specified by:
      setAuditTrail in interface Auditable
    • getReleaseVersion

      @Nullable public String getReleaseVersion()
      Description copied from interface: Versioned
      The version of the release, if applicable.
      Specified by:
      getReleaseVersion in interface Versioned
    • setReleaseVersion

      public void setReleaseVersion(@Nullable String releaseVersion)
    • getReleaseUrl

      @Nullable public URL getReleaseUrl()
      Description copied from interface: Versioned
      External URL to the release, if applicable.
      Specified by:
      getReleaseUrl in interface Versioned
    • setReleaseUrl

      public void setReleaseUrl(@Nullable URL releaseUrl)
    • getLastUpdated

      @Nullable public Date getLastUpdated()
      Description copied from interface: Versioned
      The last updated date, if known.
      Specified by:
      getLastUpdated in interface Versioned
    • setLastUpdated

      public void setLastUpdated(@Nullable Date lastUpdated)
    • equals

      public boolean equals(Object object)
      Description copied from class: AbstractIdentifiable
      Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.
      Specified by:
      equals in class AbstractIdentifiable