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
public abstract class BibRefAnnotation extends AbstractIdentifiable
-
-
Constructor Summary
Constructors Constructor Description BibRefAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Returnstrue
if the argument is an BibRefAnnotation instance and all identifiers for this entity equal the identifiers of the argument entity.Long
getId()
Boolean
getIsMajorTopic()
String
getTerm()
int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setIsMajorTopic(Boolean isMajorTopic)
void
setTerm(String term)
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId, toString
-
-
-
-
Method Detail
-
getId
@DocumentId public Long getId()
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classAbstractIdentifiable
-
getIsMajorTopic
public Boolean getIsMajorTopic()
-
setIsMajorTopic
public void setIsMajorTopic(Boolean isMajorTopic)
-
getTerm
@Field public String getTerm()
-
setTerm
public void setTerm(String term)
-
hashCode
public int hashCode()
Description copied from class:AbstractIdentifiable
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCode
in classAbstractIdentifiable
-
equals
public boolean equals(Object object)
Returnstrue
if the argument is an BibRefAnnotation instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.- Specified by:
equals
in classAbstractIdentifiable
-
-