diff options
author | niamhcore <niamh.core@est.tech> | 2021-01-19 12:45:44 +0000 |
---|---|---|
committer | Niamh Core <niamh.core@est.tech> | 2021-01-22 13:42:26 +0000 |
commit | 5b719d1cdc23da0c95310933fee09753401075f9 (patch) | |
tree | 7ae7993b6fe206a52479992bc26a5fc4e8e43d4e /cps-service/src/main/java | |
parent | 4ee05a9592b9b97efdad56f7e83cac16cd6d1311 (diff) |
Add another Child to a Fragment that has already at least one Child
Issue-ID: CPS-164
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ib6a4f8ce4fc9247726e016ecaa0b1e45ff11bdbb
Diffstat (limited to 'cps-service/src/main/java')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java b/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java index 50ece0e27b..d59fa47467 100644 --- a/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java +++ b/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java @@ -39,4 +39,15 @@ public interface CpsDataPersistenceService { */ void storeDataNode(@NonNull String dataspaceName, @NonNull String anchorName, @NonNull DataNode dataNode); + + /** + * Add a child to a Fragment. + * + * @param dataspaceName dataspace name + * @param anchorName anchor name + * @param parentXpath parent xpath + * @param dataNode dataNode + */ + void addChildDataNode(@NonNull String dataspaceName, @NonNull String anchorName, @NonNull String parentXpath, + @NonNull DataNode dataNode); } |