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
  • 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

      @Nullable public ExpressionExperiment getSecurityOwner()
      Description copied from interface: SecuredChild
      Obtain 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:
      getSecurityOwner in interface gemma.gsec.model.SecuredChild
      Specified by:
      getSecurityOwner in interface SecuredChild<ExpressionExperiment>
      Returns:
      the security owner, or null if not known.
    • setSecurityOwner

      public void setSecurityOwner(@Nullable ExpressionExperiment ee)
    • 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 class AbstractIdentifiable
    • 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.
      Specified by:
      hashCode in class AbstractIdentifiable