Class Sample
java.lang.Object
ch.systemsx.cisd.etlserver.registrator.api.v2.impl.SampleImmutable
ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Sample
- All Implemented Interfaces:
ISample,ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent,ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(String filePath, String title, String description, byte[] content) Add a new attachment to this sample.voidsetContainer(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable container) Set the container for this sample.voidsetExperiment(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable experiment) Set the experiment for this sample.voidsetParentSampleIdentifiers(List<String> parentSampleIdentifiers) Set the parent samples of this sample.voidsetProject(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable project) Set the project for this sample.voidsetPropertyValue(String propertyCode, String propertyValue) Set the value for a property.voidsetSampleType(String type) Set the type for this sample.Methods inherited from class ch.systemsx.cisd.etlserver.registrator.api.v2.impl.SampleImmutable
canGetContainedSamples, checkExists, equals, getCode, getContainedSamples, getEntityId, getExperiment, getId, getParentSampleIdentifiers, getPermId, getProject, getPropertyValue, getSample, getSampleIdentifier, getSampleType, getSpace, hashCode, isExistingSampleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent
getEntityIdMethods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable
canGetContainedSamples, getCode, getContainedSamples, getExperiment, getParentSampleIdentifiers, getPermId, getProject, getPropertyValue, getSampleIdentifier, getSampleType, getSpace, isExistingSample
-
Constructor Details
-
Sample
-
Sample
-
Method Details
-
setPropertyValue
Description copied from interface:ISampleSet the value for a property.- Specified by:
setPropertyValuein interfaceISample
-
setSampleType
Description copied from interface:ISampleSet the type for this sample.- Specified by:
setSampleTypein interfaceISample
-
setParentSampleIdentifiers
Description copied from interface:ISampleSet the parent samples of this sample.- Specified by:
setParentSampleIdentifiersin interfaceISample
-
addAttachment
Description copied from interface:ISampleAdd a new attachment to this sample.- Specified by:
addAttachmentin interfaceISample- Parameters:
filePath- The path of the attachment as reported to the database.title- The title of the attachment.description- A description of the attachment.content- The actual content of the attachment.