Class QuantitationType
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.common.quantitationtype.QuantitationType
-
- All Implemented Interfaces:
Describable
,Identifiable
public class QuantitationType extends AbstractDescribable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuantitationType.Factory
-
Constructor Summary
Constructors Constructor Description QuantitationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object object)
Important note: Two objects with the same class and non-null ID must be considered equal.GeneralType
getGeneralType()
boolean
getIsBackground()
boolean
getIsBackgroundSubtracted()
boolean
getIsBatchCorrected()
boolean
getIsMaskedPreferred()
Deprecated.boolean
getIsNormalized()
boolean
getIsPreferred()
boolean
getIsRatio()
boolean
getIsRecomputedFromRawData()
boolean
getIsSingleCellPreferred()
PrimitiveType
getRepresentation()
ScaleType
getScale()
StandardQuantitationType
getType()
int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setGeneralType(GeneralType generalType)
void
setIsBackground(boolean isBackground)
void
setIsBackgroundSubtracted(boolean isBackgroundSubtracted)
void
setIsBatchCorrected(boolean isBatchCorrected)
void
setIsMaskedPreferred(boolean isMaskedPreferred)
Deprecated.void
setIsNormalized(boolean isNormalized)
void
setIsPreferred(boolean isPreferred)
void
setIsRatio(boolean isRatio)
void
setIsRecomputedFromRawData(boolean isRecomputedFromRawData)
void
setIsSingleCellPreferred(boolean singleCellPreferred)
void
setRepresentation(PrimitiveType representation)
void
setScale(ScaleType scale)
void
setType(StandardQuantitationType type)
String
toString()
-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, getName, setDescription, setName
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ubic.gemma.model.common.Identifiable
getId
-
-
-
-
Method Detail
-
getGeneralType
public GeneralType getGeneralType()
-
setGeneralType
public void setGeneralType(GeneralType generalType)
-
getIsBackground
public boolean getIsBackground()
- Returns:
- True if this is just a background measurement.
-
setIsBackground
public void setIsBackground(boolean isBackground)
-
getIsBackgroundSubtracted
public boolean getIsBackgroundSubtracted()
- Returns:
- True if this is explicitly background-subtracted by Gemma (if it was background-subtracted before the data got to us, we might not know)
-
setIsBackgroundSubtracted
public void setIsBackgroundSubtracted(boolean isBackgroundSubtracted)
-
getIsBatchCorrected
public boolean getIsBatchCorrected()
-
setIsBatchCorrected
public void setIsBatchCorrected(boolean isBatchCorrected)
-
getIsMaskedPreferred
@Deprecated public boolean getIsMaskedPreferred()
Deprecated.
-
setIsMaskedPreferred
@Deprecated public void setIsMaskedPreferred(boolean isMaskedPreferred)
Deprecated.
-
getIsNormalized
public boolean getIsNormalized()
-
setIsNormalized
public void setIsNormalized(boolean isNormalized)
-
getIsSingleCellPreferred
public boolean getIsSingleCellPreferred()
-
setIsSingleCellPreferred
public void setIsSingleCellPreferred(boolean singleCellPreferred)
-
getIsPreferred
public boolean getIsPreferred()
-
setIsPreferred
public void setIsPreferred(boolean isPreferred)
-
getIsRatio
public boolean getIsRatio()
- Returns:
- Indicates whether the quantitation type is expressed as a ratio (e.g., of expression to a reference or pseudo-reference). This has a natural impact on the interpretation. If false, the value is "absolute".
-
setIsRatio
public void setIsRatio(boolean isRatio)
-
getIsRecomputedFromRawData
public boolean getIsRecomputedFromRawData()
- Returns:
- the isRecomputedFromRawData
-
setIsRecomputedFromRawData
public void setIsRecomputedFromRawData(boolean isRecomputedFromRawData)
- Parameters:
isRecomputedFromRawData
- the isRecomputedFromRawData to set
-
getRepresentation
public PrimitiveType getRepresentation()
-
setRepresentation
public void setRepresentation(PrimitiveType representation)
-
getScale
public ScaleType getScale()
-
setScale
public void setScale(ScaleType scale)
-
getType
public StandardQuantitationType getType()
-
setType
public void setType(StandardQuantitationType type)
-
equals
public boolean equals(Object object)
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
-
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.- Overrides:
hashCode
in classAbstractDescribable
-
toString
public String toString()
- Overrides:
toString
in classAbstractDescribable
-
-