Package ubic.gemma.model.genome.gene
Class GeneSetValueObject
java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<GeneSet>
ubic.gemma.model.genome.gene.GeneSetValueObject
- All Implemented Interfaces:
gemma.gsec.model.Securable,gemma.gsec.model.SecureValueObject,Serializable,Identifiable
- Direct Known Subclasses:
DatabaseBackedGeneSetValueObject,SessionBoundGeneSetValueObject
public class GeneSetValueObject
extends IdentifiableValueObject<GeneSet>
implements gemma.gsec.model.SecureValueObject
Represents a Gene group gene set
- Author:
- kelsey
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor to satisfy java bean contractCreate a lightweight wrapper that can be used for security filteringGeneSetValueObject(GeneSet geneSet, Taxon taxon, Long size) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbooleanGene IDs part of this gene set.booleanbooleangetName()getSize()getTaxon()booleanbooleaninthashCode()voidsetDescription(String description) voidsetGeneIds(Collection<Long> geneIds) Gene IDs part of this gene set.voidsetIsPublic(boolean isPublic) voidsetIsShared(boolean isShared) voidvoidsetSize(long size) voidsetTaxon(TaxonValueObject taxon) voidsetUserCanWrite(boolean userCanWrite) voidsetUserOwned(boolean userOwned) toString()Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface gemma.gsec.model.Securable
getId
-
Constructor Details
-
GeneSetValueObject
public GeneSetValueObject()default constructor to satisfy java bean contract -
GeneSetValueObject
Create a lightweight wrapper that can be used for security filtering- Parameters:
id- id
-
GeneSetValueObject
-
-
Method Details
-
getTaxonId
-
getTaxonName
-
getSize
- Returns:
- the number of members in the group
-
setSize
public void setSize(long size) -
getCurrentUserIsOwner
public boolean getCurrentUserIsOwner() -
getUserOwned
public boolean getUserOwned()- Specified by:
getUserOwnedin interfacegemma.gsec.model.SecureValueObject
-
getUserCanWrite
public boolean getUserCanWrite()- Specified by:
getUserCanWritein interfacegemma.gsec.model.SecureValueObject
-
setUserCanWrite
public void setUserCanWrite(boolean userCanWrite) - Specified by:
setUserCanWritein interfacegemma.gsec.model.SecureValueObject
-
getIsPublic
public boolean getIsPublic()- Specified by:
getIsPublicin interfacegemma.gsec.model.SecureValueObject
-
setIsPublic
public void setIsPublic(boolean isPublic) - Specified by:
setIsPublicin interfacegemma.gsec.model.SecureValueObject
-
getSecurableClass
- Specified by:
getSecurableClassin interfacegemma.gsec.model.SecureValueObject
-
toString
- Overrides:
toStringin classIdentifiableValueObject<GeneSet>
-
getName
-
getDescription
-
getGeneIds
Gene IDs part of this gene set. -
getTaxon
-
setName
-
setDescription
-
setGeneIds
Gene IDs part of this gene set. -
setTaxon
-
setUserOwned
public void setUserOwned(boolean userOwned) - Specified by:
setUserOwnedin interfacegemma.gsec.model.SecureValueObject
-
equals
- Overrides:
equalsin classIdentifiableValueObject<GeneSet>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<GeneSet>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<GeneSet>
-