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 classExternalDatabase.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 booleanequals(Object object)Returnstrueif the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity.AuditTrailgetAuditTrail()ContactgetDatabaseSupplier()Set<ExternalDatabase>getExternalDatabases()StringgetFtpUri()DategetLastUpdated()The last updated date, if known.StringgetLocalInstallDbName()URLgetReleaseUrl()External URL to the release, if applicable.StringgetReleaseVersion()The version of the release, if applicable.DatabaseTypegetType()StringgetWebUri()inthashCode()Returns a hash code based on this entity's identifiers.voidsetAuditTrail(AuditTrail auditTrail)voidsetDatabaseSupplier(Contact databaseSupplier)voidsetExternalDatabases(Set<ExternalDatabase> externalDatabases)voidsetFtpUri(String ftpUri)voidsetLastUpdated(Date lastUpdated)voidsetLocalInstallDbName(String localInstallDbName)voidsetReleaseUrl(URL releaseUrl)voidsetReleaseVersion(String releaseVersion)voidsetType(DatabaseType type)voidsetWebUri(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:AbstractDescribableReturnstrueif the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalseotherwise.- Overrides:
equalsin classAbstractDescribable
-
hashCode
public int hashCode()
Description copied from class:AbstractDescribableReturns a hash code based on this entity's identifiers.- Overrides:
hashCodein 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:
getAuditTrailin interfaceAuditable
-
setAuditTrail
public void setAuditTrail(AuditTrail auditTrail)
- Specified by:
setAuditTrailin interfaceAuditable
-
getReleaseVersion
@Nullable public String getReleaseVersion()
Description copied from interface:VersionedThe version of the release, if applicable.- Specified by:
getReleaseVersionin interfaceVersioned
-
getReleaseUrl
@Nullable public URL getReleaseUrl()
Description copied from interface:VersionedExternal URL to the release, if applicable.- Specified by:
getReleaseUrlin interfaceVersioned
-
getLastUpdated
@Nullable public Date getLastUpdated()
Description copied from interface:VersionedThe last updated date, if known.- Specified by:
getLastUpdatedin interfaceVersioned
-
-