Class Experiment.ExperimentInitializer

java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Experiment.ExperimentInitializer
Enclosing class:
Experiment

public static final class Experiment.ExperimentInitializer extends 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 Details

    • ExperimentInitializer

      public ExperimentInitializer()
  • Method Details

    • setId

      public void setId(Long id)
    • getId

      public Long getId()
    • setPermId

      public void setPermId(String permId)
    • getPermId

      public String getPermId()
    • setCode

      public void setCode(String code)
    • getCode

      public String getCode()
    • getIdentifier

      public String getIdentifier()
    • setIdentifier

      public void setIdentifier(String identifier)
    • setExperimentTypeCode

      public void setExperimentTypeCode(String experimentTypeCode)
    • getExperimentTypeCode

      public String getExperimentTypeCode()
    • getProperties

      public HashMap<String,Serializable> getProperties()
    • putProperty

      public void putProperty(String propCode, String value)
    • getMetaprojects

      public List<Metaproject> getMetaprojects()
    • addMetaproject

      public void addMetaproject(Metaproject metaproject)
    • setRegistrationDetails

      public void setRegistrationDetails(EntityRegistrationDetails registrationDetails)
    • getRegistrationDetails

      public EntityRegistrationDetails getRegistrationDetails()
    • setIsStub

      public void setIsStub(boolean isStub)