Class BibRefAnnotation
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.description.BibRefAnnotation
- All Implemented Interfaces:
Identifiable
- Direct Known Subclasses:
Keyword,MedicalSubjectHeading
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the argument is an BibRefAnnotation instance and all identifiers for this entity equal the identifiers of the argument entity.getId()getTerm()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetIsMajorTopic(Boolean isMajorTopic) voidMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId, toString
-
Constructor Details
-
BibRefAnnotation
public BibRefAnnotation()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiable- Overrides:
getIdin classAbstractIdentifiable
-
getIsMajorTopic
-
setIsMajorTopic
-
getTerm
-
setTerm
-
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
Returnstrueif the argument is an BibRefAnnotation instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalseotherwise.- Specified by:
equalsin classAbstractIdentifiable
-