Class ExternalDatabase
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.common.description.ExternalDatabase
-
- All Implemented Interfaces:
gemma.gsec.model.Securable
,Auditable
,Securable
,Describable
,Versioned
,Identifiable
public class ExternalDatabase extends AbstractDescribable implements Auditable, Versioned
- Author:
- Paul
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalDatabase.Factory
-
Constructor Summary
Constructors Constructor Description ExternalDatabase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Important note: Two objects with the same class and non-null ID must be considered equal.AuditTrail
getAuditTrail()
Contact
getDatabaseSupplier()
Set<ExternalDatabase>
getExternalDatabases()
String
getFtpUri()
Date
getLastUpdated()
The last updated date, if known.String
getLocalInstallDbName()
URL
getReleaseUrl()
External URL to the release, if applicable.String
getReleaseVersion()
The version of the release, if applicable.DatabaseType
getType()
String
getWebUri()
void
setAuditTrail(AuditTrail auditTrail)
void
setDatabaseSupplier(Contact databaseSupplier)
void
setExternalDatabases(Set<ExternalDatabase> externalDatabases)
void
setFtpUri(String ftpUri)
void
setLastUpdated(Date lastUpdated)
void
setLocalInstallDbName(String localInstallDbName)
void
setReleaseUrl(URL releaseUrl)
void
setReleaseVersion(String releaseVersion)
void
setType(DatabaseType type)
void
setWebUri(String webUri)
-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, getName, hashCode, setDescription, setName, toString
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ubic.gemma.model.common.Identifiable
getId
-
-
-
-
Method Detail
-
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 interfaceAuditable
-
setAuditTrail
public void setAuditTrail(AuditTrail auditTrail)
- Specified by:
setAuditTrail
in interfaceAuditable
-
getReleaseVersion
@Nullable public String getReleaseVersion()
Description copied from interface:Versioned
The version of the release, if applicable.- Specified by:
getReleaseVersion
in interfaceVersioned
-
getReleaseUrl
@Nullable public URL getReleaseUrl()
Description copied from interface:Versioned
External URL to the release, if applicable.- Specified by:
getReleaseUrl
in interfaceVersioned
-
getLastUpdated
@Nullable public Date getLastUpdated()
Description copied from interface:Versioned
The last updated date, if known.- Specified by:
getLastUpdated
in interfaceVersioned
-
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 classAbstractIdentifiable
-
-