Class FactorValue
- java.lang.Object
-
- ubic.gemma.model.expression.experiment.FactorValue
-
- All Implemented Interfaces:
gemma.gsec.model.Securable
,gemma.gsec.model.SecuredChild
,Serializable
,Securable
,SecuredChild
,Identifiable
@Indexed public class FactorValue extends Object implements Identifiable, SecuredChild, Serializable
The value for a ExperimentalFactor, representing a specific instance of the factor, such as "10 ug/kg" or "mutant"- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FactorValue.Factory
-
Constructor Summary
Constructors Constructor Description FactorValue()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object object)
Set<Statement>
getCharacteristics()
Collection ofStatement
describing this factor value.ExperimentalFactor
getExperimentalFactor()
Long
getId()
Boolean
getIsBaseline()
Indicate if this factor value is a "forced" baseline or non-baseline condition.Measurement
getMeasurement()
If this is a continuous factor, a measurement representing its value.boolean
getNeedsAttention()
Indicate if this factor value needs attention.Set<Characteristic>
getOldStyleCharacteristics()
Deprecated.ExpressionExperiment
getSecurityOwner()
String
getValue()
Deprecated.usegetMeasurement()
orgetCharacteristics()
to retrieve the value.int
hashCode()
void
setCharacteristics(Set<Statement> characteristics)
void
setExperimentalFactor(ExperimentalFactor experimentalFactor)
void
setId(Long id)
void
setIsBaseline(Boolean isBaseline)
void
setMeasurement(Measurement measurement)
void
setNeedsAttention(boolean troubled)
void
setOldStyleCharacteristics(Set<Characteristic> oldCharacteristics)
Deprecated.void
setSecurityOwner(ExpressionExperiment ee)
void
setValue(String value)
Deprecated.String
toString()
-
-
-
Method Detail
-
getId
@DocumentId public Long getId()
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfacegemma.gsec.model.Securable
-
setId
public void setId(Long id)
-
getExperimentalFactor
public ExperimentalFactor getExperimentalFactor()
-
setExperimentalFactor
public void setExperimentalFactor(ExperimentalFactor experimentalFactor)
-
getIsBaseline
@Nullable public Boolean getIsBaseline()
Indicate if this factor value is a "forced" baseline or non-baseline condition.This is ignored if the factor is continuous.
-
getValue
@Nullable @Deprecated public String getValue()
Deprecated.usegetMeasurement()
orgetCharacteristics()
to retrieve the value.
-
setValue
@Deprecated public void setValue(@Nullable String value)
Deprecated.
-
getMeasurement
@Nullable public Measurement getMeasurement()
If this is a continuous factor, a measurement representing its value.
-
setMeasurement
public void setMeasurement(@Nullable Measurement measurement)
-
getCharacteristics
@IndexedEmbedded public Set<Statement> getCharacteristics()
Collection ofStatement
describing this factor value.
-
getOldStyleCharacteristics
@Deprecated public Set<Characteristic> getOldStyleCharacteristics()
Deprecated.Old-style characteristics from the 1.30 series.This will be removed when all the characteristics are ported to the new style using
Statement
.
-
setOldStyleCharacteristics
@Deprecated public void setOldStyleCharacteristics(Set<Characteristic> oldCharacteristics)
Deprecated.
-
getNeedsAttention
public boolean getNeedsAttention()
Indicate if this factor value needs attention.If this is the case, there might be a
FactorValueNeedsAttentionEvent
event attached to the owningExpressionExperiment
with additional details.
-
setNeedsAttention
public void setNeedsAttention(boolean troubled)
-
getSecurityOwner
public ExpressionExperiment getSecurityOwner()
- Specified by:
getSecurityOwner
in interfacegemma.gsec.model.SecuredChild
- Specified by:
getSecurityOwner
in interfaceSecuredChild
-
setSecurityOwner
public void setSecurityOwner(ExpressionExperiment ee)
-
-