Class Sample.SampleInitializer
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Sample.SampleInitializer
- Enclosing class:
Sample
Class used to initialize a new sample 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 a Sample, otherwise the Sample constructor will throw an exception.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaproject(Metaproject metaproject) getCode()getId()voidputProperty(String propCode, String value) voidvoidsetChildren(List<Sample> children) voidvoidsetExperimentIdentifierOrNull(String experimentIdentifierOrNull) voidvoidsetIdentifier(String identifier) voidvoidsetParents(List<Sample> parents) voidvoidsetRegistrationDetails(EntityRegistrationDetails registrationDetails) voidsetRetrievedFetchOptions(EnumSet<SampleFetchOption> retrievedFetchOptions) voidsetSampleTypeCode(String sampleTypeCode) voidsetSampleTypeId(Long sampleTypeId) voidsetSpaceCode(String spaceCode) voidsetStub(boolean isStub)
-
Constructor Details
-
SampleInitializer
public SampleInitializer()
-
-
Method Details
-
setId
-
getId
-
setSpaceCode
-
getSpaceCode
-
setPermId
-
getPermId
-
setCode
-
getCode
-
getIdentifier
-
setIdentifier
-
getExperimentIdentifierOrNull
-
setExperimentIdentifierOrNull
-
setSampleTypeId
-
getSampleTypeId
-
setSampleTypeCode
-
getSampleTypeCode
-
getProperties
-
putProperty
-
getMetaprojects
-
getRegistrationDetails
-
setRetrievedFetchOptions
-
getRetrievedFetchOptions
-
setParents
-
getParents
-
getChildren
-
setChildren
-
setParentReferences
-
setChildReferences
-
setStub
public void setStub(boolean isStub)
-