Class ExperimentImmutable

    • Constructor Summary

      Constructor Description
      ExperimentImmutable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Experiment experiment)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkExists()
      Throw an exception if the sample does not exist
      boolean equals​(java.lang.Object obj)  
      IObjectId getEntityId()  
      ch.systemsx.cisd.openbis.generic.shared.basic.dto.Experiment getExperiment()  
      java.lang.String getExperimentIdentifier()
      Return the experiment identifier of this experiment.
      java.lang.String getExperimentType()
      Return the type for this experiment.
      java.lang.String getPermId()
      Returns the permId of this experiment.
      java.lang.String getPropertyValue​(java.lang.String propertyCode)
      Return the value of a property specified by a code.
      int hashCode()  
      boolean isExistingExperiment()
      Return true if the experiment is in openBIS.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExperimentImmutable

        public ExperimentImmutable​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Experiment experiment)
    • Method Detail

      • checkExists

        protected void checkExists()
        Throw an exception if the sample does not exist
      • getExperiment

        public ch.systemsx.cisd.openbis.generic.shared.basic.dto.Experiment getExperiment()
      • getPropertyValue

        public java.lang.String getPropertyValue​(java.lang.String propertyCode)
        Description copied from interface: IExperimentImmutable
        Return the value of a property specified by a code. May return null of no such property with code propertyCode is found.
        Specified by:
        getPropertyValue in interface IExperimentImmutable
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object