Skip to content

Commit 0c74a37

Browse files
Merge pull request #37 from qbicsoftware/prepare_v_1_5_0
Prepare version 1.5.0
2 parents 150e2ef + 2d66e89 commit 0c74a37

File tree

6 files changed

+363
-47
lines changed

6 files changed

+363
-47
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<artifactId>openbis-client-lib</artifactId>
1212
<packaging>jar</packaging>
13-
<version>1.4.1</version>
13+
<version>1.5.0</version>
1414
<name>openBIS client library</name>
1515
<!-- we only need to tell maven where to find our parent pom and other QBiC
1616
dependencies -->

src/main/java/life/qbic/openbis/openbisclient/IOpenBisClient.java

+18-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import ch.ethz.sis.openbis.generic.asapi.v3.dto.attachment.Attachment;
44
import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.interfaces.IEntityType;
55
import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.DataSet;
6+
import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.DataSetType;
67
import ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.Experiment;
78
import ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.ExperimentType;
89
import ch.ethz.sis.openbis.generic.asapi.v3.dto.project.Project;
@@ -833,11 +834,25 @@ public List<DataSet> listDataSetsForSamples(
833834
public List<Sample> searchSampleByCode(String sampleCode);
834835

835836
/**
836-
* Retrieve a list of property types associated with a given entity type, e.g. a sample or experiment type
837-
* @param type entity type of sample, experiment or other openBIS entity
837+
* Retrieve a list of property types associated with a given experiment type
838+
* @param type entity type of experiment
838839
* @return List of PropertyTypes
839840
*/
840-
public List<PropertyType> getPropertiesOfEntityType(IEntityType type);
841+
public List<PropertyType> getPropertiesOfExperimentType(ExperimentType type);
842+
843+
/**
844+
* Retrieve a list of property types associated with a given sample type
845+
* @param type entity type of sample
846+
* @return List of PropertyTypes
847+
*/
848+
public List<PropertyType> getPropertiesOfSampleType(SampleType type);
849+
850+
/**
851+
* Retrieve a list of property types associated with a given dataset type
852+
* @param type entity type of dataset
853+
* @return List of PropertyTypes
854+
*/
855+
public List<PropertyType> getPropertiesOfDataSetType(DataSetType type);
841856

842857
// /**
843858
// * returns file information for a given number of datasets. params should look something like

0 commit comments

Comments
 (0)