Class DatabaseEntryValueObject
java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<DatabaseEntry>
ubic.gemma.model.common.description.DatabaseEntryValueObject
- All Implemented Interfaces:
Serializable,Identifiable
ValueObject for database entry
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetLabel()A label for display purposes.getUri()inthashCode()voidsetAccession(String accession) voidsetExternalDatabase(ExternalDatabaseValueObject externalDatabase) voidA label for display purposes.voidtoString()Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setId
-
Constructor Details
-
DatabaseEntryValueObject
public DatabaseEntryValueObject() -
DatabaseEntryValueObject
-
DatabaseEntryValueObject
public DatabaseEntryValueObject(long id)
-
-
Method Details
-
getAccession
-
getUri
-
getLabel
A label for display purposes.This is usually the
accession, but for some databases, it may be a bit cryptic for the end-user, so another string is used. -
getExternalDatabase
-
setAccession
-
setUri
-
setLabel
A label for display purposes.This is usually the
accession, but for some databases, it may be a bit cryptic for the end-user, so another string is used. -
setExternalDatabase
-
toString
- Overrides:
toStringin classIdentifiableValueObject<DatabaseEntry>
-
equals
- Overrides:
equalsin classIdentifiableValueObject<DatabaseEntry>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<DatabaseEntry>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<DatabaseEntry>
-