Class Experiment.ExperimentInitializer

  • Enclosing class:
    Experiment

    public static final class Experiment.ExperimentInitializer
    extends java.lang.Object
    Class used to initialize a new experiment instance. Necessary since all the fields of a sample are final.

    All of the properties must be filled (non-null) before being used to initialize an Experiment, otherwise the Experiment constructor will throw an exception.

    • Constructor Detail

      • ExperimentInitializer

        public ExperimentInitializer()
    • Method Detail

      • setId

        public void setId​(java.lang.Long id)
      • getId

        public java.lang.Long getId()
      • setPermId

        public void setPermId​(java.lang.String permId)
      • getPermId

        public java.lang.String getPermId()
      • setCode

        public void setCode​(java.lang.String code)
      • getCode

        public java.lang.String getCode()
      • getIdentifier

        public java.lang.String getIdentifier()
      • setIdentifier

        public void setIdentifier​(java.lang.String identifier)
      • setExperimentTypeCode

        public void setExperimentTypeCode​(java.lang.String experimentTypeCode)
      • getExperimentTypeCode

        public java.lang.String getExperimentTypeCode()
      • getProperties

        public java.util.HashMap<java.lang.String,​java.lang.String> getProperties()
      • putProperty

        public void putProperty​(java.lang.String propCode,
                                java.lang.String value)
      • getMetaprojects

        public java.util.List<ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject> getMetaprojects()
      • addMetaproject

        public void addMetaproject​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject metaproject)
      • setIsStub

        public void setIsStub​(boolean isStub)