Package ubic.gemma.model.genome.gene
Class PhenotypeGroupValueObject
- java.lang.Object
-
- ubic.gemma.model.common.IdentifiableValueObject<GeneSet>
-
- ubic.gemma.model.genome.gene.GeneSetValueObject
-
- ubic.gemma.model.genome.gene.SessionBoundGeneSetValueObject
-
- ubic.gemma.model.genome.gene.PhenotypeGroupValueObject
-
- All Implemented Interfaces:
gemma.gsec.model.Securable
,gemma.gsec.model.SecureValueObject
,Serializable
,GemmaSessionBackedValueObject
,Identifiable
public class PhenotypeGroupValueObject extends SessionBoundGeneSetValueObject
- Author:
- tvrossum
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id
-
-
Constructor Summary
Constructors Constructor Description PhenotypeGroupValueObject()
PhenotypeGroupValueObject(String name, String description, Long taxonId, String taxonName, Collection<Long> memberIds, String phenotypeName, String phenotypeCategory, String searchTerm)
Method to create a display object from scratch
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhenotypeGroupValueObject
convertFromGeneSetValueObject(GeneSetValueObject gsvo, String searchTerm)
boolean
equals(Object obj)
String
getPhenotypeCategory()
String
getPhenotypeName()
String
getSearchTerm()
int
hashCode()
void
setPhenotypeCategory(String phenotypeCategory)
void
setPhenotypeName(String phenotypeName)
void
setSearchTerm(String searchTerm)
-
Methods inherited from class ubic.gemma.model.genome.gene.SessionBoundGeneSetValueObject
isModified, setModified
-
Methods inherited from class ubic.gemma.model.genome.gene.GeneSetValueObject
getCurrentUserIsOwner, getIsPublic, getIsShared, getSecurableClass, getSize, getTaxonId, getTaxonName, getUserCanWrite, getUserOwned, setIsPublic, setIsShared, setSize, setUserCanWrite, toString
-
Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ubic.gemma.model.common.GemmaSessionBackedValueObject
getId, setId
-
-
-
-
Constructor Detail
-
PhenotypeGroupValueObject
public PhenotypeGroupValueObject()
-
PhenotypeGroupValueObject
public PhenotypeGroupValueObject(String name, String description, Long taxonId, String taxonName, @Nullable Collection<Long> memberIds, String phenotypeName, String phenotypeCategory, String searchTerm)
Method to create a display object from scratch- Parameters:
name
- cannot be nulldescription
- should not be nulltaxonId
- can be nulltaxonName
- can be nullmemberIds
- can be null; for a gene this is a collection just containing their idsearchTerm
- search termphenotypeCategory
- phenotype categoryphenotypeName
- phenotype name
-
-
Method Detail
-
convertFromGeneSetValueObject
public static PhenotypeGroupValueObject convertFromGeneSetValueObject(GeneSetValueObject gsvo, String searchTerm)
-
getPhenotypeCategory
public String getPhenotypeCategory()
-
setPhenotypeCategory
public void setPhenotypeCategory(String phenotypeCategory)
-
getPhenotypeName
public String getPhenotypeName()
-
setPhenotypeName
public void setPhenotypeName(String phenotypeName)
-
getSearchTerm
public String getSearchTerm()
-
setSearchTerm
public void setSearchTerm(String searchTerm)
-
-