Class QuantitationType
- java.lang.Object
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.common.quantitationtype.QuantitationType
-
- All Implemented Interfaces:
Serializable
,Describable
,Identifiable
public class QuantitationType extends AbstractDescribable implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuantitationType.Factory
-
Constructor Summary
Constructors Constructor Description QuantitationType()
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)
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity.GeneralType
getGeneralType()
boolean
getIsBackground()
boolean
getIsBackgroundSubtracted()
boolean
getIsBatchCorrected()
boolean
getIsMaskedPreferred()
Deprecated.boolean
getIsNormalized()
boolean
getIsPreferred()
boolean
getIsRatio()
boolean
getIsRecomputedFromRawData()
PrimitiveType
getRepresentation()
ScaleType
getScale()
StandardQuantitationType
getType()
int
hashCode()
Returns a hash code based on this entity's identifiers.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
setRepresentation(PrimitiveType representation)
void
setScale(ScaleType scale)
void
setType(StandardQuantitationType type)
String
toString()
-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, getId, getName, setDescription, setId, setName
-
-
-
-
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.- Returns:
- If the data represented is a missing-value masked version of the preferred data.
-
setIsMaskedPreferred
@Deprecated public void setIsMaskedPreferred(boolean isMaskedPreferred)
Deprecated.
-
getIsNormalized
public boolean getIsNormalized()
-
setIsNormalized
public void setIsNormalized(boolean isNormalized)
-
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:AbstractDescribable
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.- Overrides:
equals
in classAbstractDescribable
-
hashCode
public int hashCode()
Description copied from class:AbstractDescribable
Returns a hash code based on this entity's identifiers.- Overrides:
hashCode
in classAbstractDescribable
-
toString
public String toString()
- Overrides:
toString
in classAbstractDescribable
- See Also:
AbstractDescribable.toString()
-
-