Class Compound
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.expression.biomaterial.Compound
-
- All Implemented Interfaces:
Describable,Identifiable
@Indexed public class Compound extends AbstractDescribable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompound.Factory
-
Constructor Summary
Constructors Constructor Description Compound()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Important note: Two objects with the same class and non-null ID must be considered equal.LonggetId()StringgetName()Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.StringgetRegistryNumber()voidsetRegistryNumber(String registryNumber)-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, hashCode, setDescription, setName, toString
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
-
-
-
Method Detail
-
getId
@DocumentId public Long getId()
- Specified by:
getIdin interfaceIdentifiable- Overrides:
getIdin classAbstractIdentifiable
-
getName
@Field public String getName()
Description copied from interface:DescribableObtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
getNamein interfaceDescribable- Overrides:
getNamein classAbstractDescribable
-
getRegistryNumber
@Field(analyze=NO) public String getRegistryNumber()
- Returns:
- CAS registry number (see http://www.cas.org/)
-
setRegistryNumber
public void setRegistryNumber(String registryNumber)
-
equals
public boolean equals(Object object)
Description copied from class:AbstractIdentifiableImportant 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:
equalsin classAbstractIdentifiable
-
-