diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2023-03-14 16:27:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-03-14 16:27:11 +0000 |
commit | 26439b875861fe5e45f2eb78869bd121dfd7236b (patch) | |
tree | 996106d1da4474a5ccfd602e737ec9eaea2b3597 /cps-service/src/main/java | |
parent | 51d1ec37743eadaf2b33b0781887694a3c79927d (diff) | |
parent | 2e07b499eb798c19c8641078ff79364f9439a281 (diff) |
Merge "Fetch fragment entities using recursive SQL query"
Diffstat (limited to 'cps-service/src/main/java')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/FetchDescendantsOption.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/spi/FetchDescendantsOption.java b/cps-service/src/main/java/org/onap/cps/spi/FetchDescendantsOption.java index cf5e04dc46..02574995dc 100644 --- a/cps-service/src/main/java/org/onap/cps/spi/FetchDescendantsOption.java +++ b/cps-service/src/main/java/org/onap/cps/spi/FetchDescendantsOption.java @@ -76,6 +76,14 @@ public class FetchDescendantsOption { } /** + * Get depth. + * @return depth: -1 for all descendants, 0 for no descendants, or positive value for fixed level of descendants + */ + public int getDepth() { + return depth; + } + + /** * get fetch descendants option for given descendant. * * @param fetchDescendantsOptionAsString fetch descendants option string |