Class ExternalDatabase
- java.lang.Object
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.common.description.ExternalDatabase
-
- All Implemented Interfaces:
gemma.gsec.model.Securable
,Serializable
,Auditable
,Securable
,Describable
,Versioned
,Identifiable
public class ExternalDatabase extends AbstractDescribable implements Auditable, Versioned, Serializable
- Author:
- Paul
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalDatabase.Factory
-
Constructor Summary
Constructors Constructor Description ExternalDatabase()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity.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()
int
hashCode()
Returns a hash code based on this entity's identifiers.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, getId, getName, setDescription, setId, setName, toString
-
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
-
equals
public boolean equals(Object object)
Description copied from class:AbstractDescribable
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.- Overrides:
equals
in classAbstractDescribable
-
hashCode
public int hashCode()
Description copied from class:AbstractDescribable
Returns a hash code based on this entity's identifiers.- Overrides:
hashCode
in classAbstractDescribable
-
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
-
-