Class QuantitationTypeValueObject
- All Implemented Interfaces:
Serializable,Identifiable
QuantitationType.
If expressionExperimentId is set, then this QT is EE-associated, and can be distinguished from other QTs
with the same ID used in different experiments as per equals(Object) and hashCode(). In this case,
the vectorType is also known, but could be null.
- Author:
- thea
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id -
Constructor Summary
ConstructorsConstructorDescriptionQuantitationTypeValueObject(QuantitationType qt, ExpressionExperiment expressionExperiment, Class<? extends DataVector> vectorType) Create aQuantitationTypeVO in the context of an associated experiment. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAssociated expression experiment ID.booleanbooleanbooleanbooleanDeprecated.booleanbooleanbooleanbooleangetName()getScale()getType()Vector type this QT is associated to.inthashCode()voidsetDescription(String description) voidsetExpressionExperimentId(Long expressionExperimentId) Associated expression experiment ID.voidsetGeneralType(String generalType) voidsetIsBackground(boolean isBackground) voidsetIsBackgroundSubtracted(boolean isBackgroundSubtracted) voidsetIsBatchCorrected(boolean isBatchCorrected) voidsetIsMaskedPreferred(boolean isMaskedPreferred) Deprecated.voidsetIsNormalized(boolean isNormalized) voidsetIsPreferred(boolean isPreferred) voidsetIsRatio(boolean isRatio) voidsetIsRecomputedFromRawData(boolean isRecomputedFromRawData) voidvoidsetRepresentation(String representation) voidvoidvoidsetVectorType(String vectorType) Vector type this QT is associated to.toString()Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setId
-
Constructor Details
-
QuantitationTypeValueObject
public QuantitationTypeValueObject() -
QuantitationTypeValueObject
-
QuantitationTypeValueObject
public QuantitationTypeValueObject(QuantitationType qt, ExpressionExperiment expressionExperiment, @Nullable Class<? extends DataVector> vectorType) Create aQuantitationTypeVO in the context of an associated experiment.Note that an associated EE does not imply that the QT is used in processed/raw vectors. There are generic QTs to represent data transformation such as masking that require no storage of vectors.
- Parameters:
expressionExperiment- associated experimentvectorType- vector type if applicable, otherwise null
-
-
Method Details
-
getIsBackground
public boolean getIsBackground() -
setIsBackground
public void setIsBackground(boolean isBackground) -
getIsBackgroundSubtracted
public boolean getIsBackgroundSubtracted() -
setIsBackgroundSubtracted
public void setIsBackgroundSubtracted(boolean isBackgroundSubtracted) -
getIsBatchCorrected
public boolean getIsBatchCorrected() -
setIsBatchCorrected
public void setIsBatchCorrected(boolean isBatchCorrected) -
getIsNormalized
public boolean getIsNormalized() -
setIsNormalized
public void setIsNormalized(boolean isNormalized) -
getIsRatio
public boolean getIsRatio() -
setIsRatio
public void setIsRatio(boolean isRatio) -
getIsRecomputedFromRawData
public boolean getIsRecomputedFromRawData() -
setIsRecomputedFromRawData
public void setIsRecomputedFromRawData(boolean isRecomputedFromRawData) -
getIsPreferred
public boolean getIsPreferred() -
setIsPreferred
public void setIsPreferred(boolean isPreferred) -
getIsMaskedPreferred
Deprecated. -
setIsMaskedPreferred
Deprecated. -
getName
-
getDescription
-
getGeneralType
-
getType
-
getRepresentation
-
getScale
-
getExpressionExperimentId
Associated expression experiment ID.This is unnecessary in the context of the RESTful API because vector types are always retrieved when the associated ExpressionExperiment is known.
-
getVectorType
Vector type this QT is associated to.This only makes sense in the context of an associated EE.
-
setName
-
setDescription
-
setGeneralType
-
setType
-
setRepresentation
-
setScale
-
setExpressionExperimentId
Associated expression experiment ID.This is unnecessary in the context of the RESTful API because vector types are always retrieved when the associated ExpressionExperiment is known.
-
setVectorType
Vector type this QT is associated to.This only makes sense in the context of an associated EE.
-
equals
- Overrides:
equalsin classIdentifiableValueObject<QuantitationType>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<QuantitationType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<QuantitationType>
-
toString
- Overrides:
toStringin classIdentifiableValueObject<QuantitationType>
-