Class FactorValue
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.expression.experiment.FactorValue
- All Implemented Interfaces:
gemma.gsec.model.Securable
,gemma.gsec.model.SecuredChild
,Securable
,SecuredChild
,Identifiable
The value for a ExperimentalFactor, representing a specific instance of the factor, such as "10 ug/kg" or "mutant"
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Important note: Two objects with the same class and non-null ID must be considered equal.Collection ofStatement
describing this factor value.getId()
Indicate if this factor value is a "forced" baseline or non-baseline condition.If this is a continuous factor, a measurement representing its value.boolean
Indicate if this factor value needs attention.Deprecated.getValue()
Deprecated.int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setCharacteristics
(Set<Statement> characteristics) void
setExperimentalFactor
(ExperimentalFactor experimentalFactor) void
setIsBaseline
(Boolean isBaseline) void
setMeasurement
(Measurement measurement) void
setNeedsAttention
(boolean troubled) void
setOldStyleCharacteristics
(Set<Characteristic> oldCharacteristics) Deprecated.void
void
Deprecated.toString()
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
Constructor Details
-
FactorValue
public FactorValue()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfacegemma.gsec.model.Securable
- Overrides:
getId
in classAbstractIdentifiable
-
getExperimentalFactor
-
setExperimentalFactor
-
getIsBaseline
Indicate if this factor value is a "forced" baseline or non-baseline condition.This is ignored if the factor is continuous.
-
setIsBaseline
-
getValue
Deprecated.usegetMeasurement()
orgetCharacteristics()
to retrieve the value. -
setValue
Deprecated. -
getMeasurement
If this is a continuous factor, a measurement representing its value. -
setMeasurement
-
getCharacteristics
Collection ofStatement
describing this factor value. -
setCharacteristics
-
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. -
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
- Specified by:
getSecurityOwner
in interfacegemma.gsec.model.SecuredChild
- Specified by:
getSecurityOwner
in interfaceSecuredChild
-
setSecurityOwner
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiable
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCode
in classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiable
Important 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:
equals
in classAbstractIdentifiable
-
toString
- Overrides:
toString
in classAbstractIdentifiable
-
getMeasurement()
orgetCharacteristics()
to retrieve the value.