From ceb59bc0fa2879c5ebc81ebfa99a903bf0f59a1f Mon Sep 17 00:00:00 2001
From: cramakri <cramakri>
Date: Wed, 27 Jun 2012 19:25:14 +0000
Subject: [PATCH] BIS-94 SP-145 : Add Contained to fetch options

SVN: 25902
---
 .../generic/shared/api/v1/dto/SampleFetchOption.java        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/api/v1/dto/SampleFetchOption.java b/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/api/v1/dto/SampleFetchOption.java
index 06bcb7fa80d..db2483b08f4 100644
--- a/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/api/v1/dto/SampleFetchOption.java
+++ b/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/api/v1/dto/SampleFetchOption.java
@@ -56,5 +56,9 @@ public enum SampleFetchOption implements FetchOption
     /**
      * Ask for all descendants.
      */
-    DESCENDANTS
+    DESCENDANTS,
+    /**
+     * Ask for contained samples. This is not supported in search operations
+     */
+    CONTAINED
 }
-- 
GitLab