Package ubic.gemma.model.genome.gene
Class GeneSet
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
-
- ubic.gemma.model.genome.gene.GeneSet
-
- All Implemented Interfaces:
gemma.gsec.model.Securable,gemma.gsec.model.SecuredNotChild,Auditable,Securable,SecuredNotChild,Describable,Identifiable
@Indexed public class GeneSet extends AbstractAuditable implements SecuredNotChild
A grouping of genes that share a common relationship
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneSet.Factory
-
Constructor Summary
Constructors Constructor Description GeneSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneSetMembercontainsGene(Gene g, GeneSet gs)booleanequals(Object object)Important note: Two objects with the same class and non-null ID must be considered equal.Set<Characteristic>getCharacteristics()StringgetDescription()Obtain a human-readable description of the object.LonggetId()Set<BibliographicReference>getLiteratureSources()Set<GeneSetMember>getMembers()StringgetName()Obtain a short, human-readable name of the object.DatabaseEntrygetSourceAccession()voidsetCharacteristics(Set<Characteristic> characteristics)voidsetLiteratureSources(Set<BibliographicReference> literatureSources)voidsetMembers(Set<GeneSetMember> members)voidsetSourceAccession(DatabaseEntry sourceAccession)-
Methods inherited from class ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
getAuditTrail, setAuditTrail
-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
hashCode, setDescription, setName, toString
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
-
-
-
Method Detail
-
containsGene
public static GeneSetMember containsGene(Gene g, GeneSet gs)
-
getId
@DocumentId public Long getId()
- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfacegemma.gsec.model.Securable- Overrides:
getIdin classAbstractIdentifiable
-
getName
@Field public String getName()
Description copied from interface:DescribableObtain a short, human-readable name of the object.- Specified by:
getNamein interfaceDescribable- Overrides:
getNamein classAbstractDescribable
-
getDescription
@Field(store=YES) public String getDescription()
Description copied from interface:DescribableObtain a human-readable description of the object.- Specified by:
getDescriptionin interfaceDescribable- Overrides:
getDescriptionin classAbstractDescribable
-
getCharacteristics
@IndexedEmbedded public Set<Characteristic> getCharacteristics()
-
setCharacteristics
public void setCharacteristics(Set<Characteristic> characteristics)
-
getLiteratureSources
@IndexedEmbedded public Set<BibliographicReference> getLiteratureSources()
-
setLiteratureSources
public void setLiteratureSources(Set<BibliographicReference> literatureSources)
-
getMembers
@IndexedEmbedded public Set<GeneSetMember> getMembers()
-
setMembers
public void setMembers(Set<GeneSetMember> members)
-
getSourceAccession
@IndexedEmbedded public DatabaseEntry getSourceAccession()
-
setSourceAccession
public void setSourceAccession(DatabaseEntry sourceAccession)
-
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
-
-