Class ExpressionExperimentValueObject
- java.lang.Object
-
- ubic.gemma.model.common.IdentifiableValueObject<C>
-
- ubic.gemma.model.common.auditAndSecurity.curation.AbstractCuratableValueObject<ExpressionExperiment>
-
- ubic.gemma.model.expression.experiment.ExpressionExperimentValueObject
-
- All Implemented Interfaces:
gemma.gsec.model.Securable
,gemma.gsec.model.SecureValueObject
,Serializable
,Identifiable
- Direct Known Subclasses:
ExpressionExperimentDetailsValueObject
,ExpressionExperimentSubsetValueObject
public class ExpressionExperimentValueObject extends AbstractCuratableValueObject<ExpressionExperiment> implements gemma.gsec.model.SecureValueObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
description
protected String
name
protected Integer
numberOfBioAssays
-
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id
-
-
Constructor Summary
Constructors Modifier Constructor Description ExpressionExperimentValueObject()
Required when using the class as a spring bean.ExpressionExperimentValueObject(Long id)
ExpressionExperimentValueObject(ExpressionExperiment ee)
ExpressionExperimentValueObject(ExpressionExperiment ee, boolean ignoreDesign, boolean ignoreAccession)
Creates a new value object out of given Expression Experiment.ExpressionExperimentValueObject(ExpressionExperiment ee, gemma.gsec.acl.domain.AclObjectIdentity aoi, gemma.gsec.acl.domain.AclSid sid)
Creates a newExpressionExperiment
value object with additional information about ownership.protected
ExpressionExperimentValueObject(ExpressionExperimentValueObject vo)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getBioAssayCount()
Deprecated.use#getNumberOfBioAssays()
instead.boolean
getIsPublic()
boolean
getIsShared()
Class<? extends Securable>
getSecurableClass()
String
getTaxon()
Long
getTaxonId()
Deprecated.use#getTaxonObject()
insteadboolean
getUserCanWrite()
boolean
getUserOwned()
void
setIsPublic(boolean b)
void
setIsShared(boolean b)
void
setUserCanWrite(boolean userCanWrite)
void
setUserOwned(boolean isUserOwned)
String
toString()
-
Methods inherited from class ubic.gemma.model.common.auditAndSecurity.curation.AbstractCuratableValueObject
getCurationNote, getLastNeedsAttentionEvent, getLastNoteUpdateEvent, getLastTroubledEvent, getLastUpdated, getNeedsAttention, getTroubled, getTroubleDetails, getTroubleDetails, setCurationNote, setLastNeedsAttentionEvent, setLastNoteUpdateEvent, setLastTroubledEvent, setLastUpdated, setNeedsAttention, setTroubled
-
Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setId
-
-
-
-
Constructor Detail
-
ExpressionExperimentValueObject
public ExpressionExperimentValueObject()
Required when using the class as a spring bean.
-
ExpressionExperimentValueObject
public ExpressionExperimentValueObject(Long id)
-
ExpressionExperimentValueObject
public ExpressionExperimentValueObject(ExpressionExperiment ee, boolean ignoreDesign, boolean ignoreAccession)
Creates a new value object out of given Expression Experiment.- Parameters:
ee
- the experiment to convert into a value object.ignoreDesign
- exclude the experimental design from serializationignoreAccession
- exclude accession from serialization
-
ExpressionExperimentValueObject
public ExpressionExperimentValueObject(ExpressionExperiment ee)
-
ExpressionExperimentValueObject
public ExpressionExperimentValueObject(ExpressionExperiment ee, gemma.gsec.acl.domain.AclObjectIdentity aoi, gemma.gsec.acl.domain.AclSid sid)
Creates a newExpressionExperiment
value object with additional information about ownership.
-
ExpressionExperimentValueObject
protected ExpressionExperimentValueObject(ExpressionExperimentValueObject vo)
-
-
Method Detail
-
getBioAssayCount
@Deprecated public int getBioAssayCount()
Deprecated.use#getNumberOfBioAssays()
instead.Obtain the number ofBioAssay
in this experiment.
-
getIsPublic
public boolean getIsPublic()
- Specified by:
getIsPublic
in interfacegemma.gsec.model.SecureValueObject
-
getIsShared
public boolean getIsShared()
- Specified by:
getIsShared
in interfacegemma.gsec.model.SecureValueObject
-
getTaxon
public String getTaxon()
-
getTaxonId
@Deprecated public Long getTaxonId()
Deprecated.use#getTaxonObject()
instead
-
getSecurableClass
public Class<? extends Securable> getSecurableClass()
- Specified by:
getSecurableClass
in interfacegemma.gsec.model.SecureValueObject
-
getUserCanWrite
public boolean getUserCanWrite()
- Specified by:
getUserCanWrite
in interfacegemma.gsec.model.SecureValueObject
-
getUserOwned
public boolean getUserOwned()
- Specified by:
getUserOwned
in interfacegemma.gsec.model.SecureValueObject
-
setIsPublic
public void setIsPublic(boolean b)
- Specified by:
setIsPublic
in interfacegemma.gsec.model.SecureValueObject
-
setIsShared
public void setIsShared(boolean b)
- Specified by:
setIsShared
in interfacegemma.gsec.model.SecureValueObject
-
setUserCanWrite
public void setUserCanWrite(boolean userCanWrite)
- Specified by:
setUserCanWrite
in interfacegemma.gsec.model.SecureValueObject
-
setUserOwned
public void setUserOwned(boolean isUserOwned)
- Specified by:
setUserOwned
in interfacegemma.gsec.model.SecureValueObject
-
toString
public String toString()
- Overrides:
toString
in classIdentifiableValueObject<ExpressionExperiment>
-
-