Class AlternateName
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.expression.arrayDesign.AlternateName
-
- All Implemented Interfaces:
Identifiable
@Indexed public class AlternateName extends AbstractIdentifiable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlternateName.Factory
-
Constructor Summary
Constructors Constructor Description AlternateName()
-
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()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetName(String name)-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId, toString
-
-
-
-
Method Detail
-
getId
@DocumentId public Long getId()
- Specified by:
getIdin interfaceIdentifiable- Overrides:
getIdin classAbstractIdentifiable
-
getName
@Field public String getName()
-
setName
public void setName(String name)
-
hashCode
public int hashCode()
Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
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
-
-