summaryrefslogtreecommitdiffstats
path: root/aai-annotations
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2020-02-21 14:34:10 -0500
committerHarish Venkata Kajur <vk250x@att.com>2020-02-25 23:59:33 -0500
commit98749c47bbb5f5ddcc1c4f0690b79c7288f6bdd6 (patch)
treea472ce2edabd497b643917f44785b775fa16e15e /aai-annotations
parente654645a50a0d028d8e67ea997f84efe8d28a6a0 (diff)
Enhancements for the aai-common library
Issue-ID: AAI-2806 Change-Id: I2dbb46b897b35136ac1bb802978d3f974af1b307 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-annotations')
-rw-r--r--aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java2
-rw-r--r--aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java7
2 files changed, 8 insertions, 1 deletions
diff --git a/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java b/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java
index eb88230c..142cac98 100644
--- a/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java
+++ b/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java
@@ -76,4 +76,6 @@ public @interface Metadata {
String sourceOfTruthType() default "";
+ String dslStartNodeProps() default "";
+
}
diff --git a/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java b/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java
index 2ac4538d..1534c8d1 100644
--- a/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java
+++ b/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java
@@ -124,7 +124,12 @@ public enum ObjectMetadata {
/**
* a value of true allows this object to be written directly
*/
- ALLOW_DIRECT_WRITE("allowDirectWrite");
+ ALLOW_DIRECT_WRITE("allowDirectWrite"),
+ /**
+ * properties that are allowed to be in start node in a DSL
+ * <br><b>comma separated list</b>
+ */
+ DSL_START_NODE_PROPS("dslStartNodeProps");
private final String name;