Class MeanVarianceRelation
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.expression.bioAssayData.MeanVarianceRelation
- All Implemented Interfaces:
gemma.gsec.model.Securable,gemma.gsec.model.SecuredChild,Securable,SecuredChild<ExpressionExperiment>,Identifiable
public class MeanVarianceRelation
extends AbstractIdentifiable
implements SecuredChild<ExpressionExperiment>
- Author:
- Patrick
-
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.double[]getMeans()Obtain the security owner of this secured child.double[]inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetMeans(double[] means) voidvoidsetVariances(double[] variances) Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ubic.gemma.model.common.Identifiable
getIdMethods inherited from interface gemma.gsec.model.Securable
getId
-
Constructor Details
-
MeanVarianceRelation
public MeanVarianceRelation()
-
-
Method Details
-
getMeans
public double[] getMeans() -
setMeans
public void setMeans(double[] means) -
getVariances
public double[] getVariances() -
setVariances
public void setVariances(double[] variances) -
getSecurityOwner
Description copied from interface:SecuredChildObtain the security owner of this secured child.Secured children should always have an owner in the ACL table, but that relation is not always direct or mapped. A more robust way of checking is to look up the parent via
AclObjectIdentity.getParentObject(). If the security owner cannot be determined, the implementation should define a setter so it can be temporarily assigned for creating the ACL identity.- Specified by:
getSecurityOwnerin interfacegemma.gsec.model.SecuredChild- Specified by:
getSecurityOwnerin interfaceSecuredChild<ExpressionExperiment>- Returns:
- the security owner, or null if not known.
-
setSecurityOwner
-
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
-
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
-