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 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 Summary
Constructors Constructor Description ExperimentInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMetaproject(Metaproject metaproject)
java.lang.String
getCode()
java.lang.String
getExperimentTypeCode()
java.lang.Long
getId()
java.lang.String
getIdentifier()
java.util.List<Metaproject>
getMetaprojects()
java.lang.String
getPermId()
java.util.HashMap<java.lang.String,java.lang.String>
getProperties()
EntityRegistrationDetails
getRegistrationDetails()
void
putProperty(java.lang.String propCode, java.lang.String value)
void
setCode(java.lang.String code)
void
setExperimentTypeCode(java.lang.String experimentTypeCode)
void
setId(java.lang.Long id)
void
setIdentifier(java.lang.String identifier)
void
setIsStub(boolean isStub)
void
setPermId(java.lang.String permId)
void
setRegistrationDetails(EntityRegistrationDetails registrationDetails)
-
-
-
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<Metaproject> getMetaprojects()
-
addMetaproject
public void addMetaproject(Metaproject metaproject)
-
setRegistrationDetails
public void setRegistrationDetails(EntityRegistrationDetails registrationDetails)
-
getRegistrationDetails
public EntityRegistrationDetails getRegistrationDetails()
-
setIsStub
public void setIsStub(boolean isStub)
-
-