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 TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.Collection ofStatementdescribing 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.booleanIndicate if this factor value needs attention.Deprecated.getValue()Deprecated.inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetCharacteristics(Set<Statement> characteristics) voidsetExperimentalFactor(ExperimentalFactor experimentalFactor) voidsetIsBaseline(Boolean isBaseline) voidsetMeasurement(Measurement measurement) voidsetNeedsAttention(boolean troubled) voidsetOldStyleCharacteristics(Set<Characteristic> oldCharacteristics) Deprecated.voidvoidDeprecated.toString()Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
Constructor Details
-
FactorValue
public FactorValue()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfacegemma.gsec.model.Securable- Overrides:
getIdin 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 ofStatementdescribing 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
FactorValueNeedsAttentionEventevent attached to the owningExpressionExperimentwith additional details. -
setNeedsAttention
public void setNeedsAttention(boolean troubled) -
getSecurityOwner
- Specified by:
getSecurityOwnerin interfacegemma.gsec.model.SecuredChild- Specified by:
getSecurityOwnerin interfaceSecuredChild
-
setSecurityOwner
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiableImportant 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:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-
getMeasurement()orgetCharacteristics()to retrieve the value.