Class AlternateName
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.expression.arrayDesign.AlternateName
- All Implemented Interfaces:
Identifiable
Hibernate Search 7 mapping: contributes its
getName() as a tokenized field to
ArrayDesign's document via @IndexedEmbedded. Carries its own @Indexed
for symmetry with the pre-strip HS 5 mapping, even though the only Lucene path that consumes
AlternateName documents today is the ArrayDesign.alternateNames embedded path.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.getId()Obtain the identifier of the object.getName()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidMethods inherited from class AbstractIdentifiable
setId, toString
-
Constructor Details
-
AlternateName
public AlternateName()
-
-
Method Details
-
getId
Description copied from interface:IdentifiableObtain the identifier of the object.- Specified by:
getIdin interfaceIdentifiable- Overrides:
getIdin classAbstractIdentifiable
-
getName
-
setName
-
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
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
-