summaryrefslogtreecommitdiffstats
path: root/aai-annotations/src/main/java/org/onap
diff options
context:
space:
mode:
Diffstat (limited to 'aai-annotations/src/main/java/org/onap')
-rw-r--r--aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java1
-rw-r--r--aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java5
2 files changed, 6 insertions, 0 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 8d03d8ab..d9e9f0fd 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
@@ -39,6 +39,7 @@ public @interface Metadata {
String defaultValue() default "";
String searchable() default "";
String uniqueProps() default "";
+ String requiredProps() default "";
String uriTemplate() default "";
String extendsFrom() default "";
String isAbstract() 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 a127ba7f..39cfdec4 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
@@ -61,6 +61,11 @@ public enum ObjectMetadata {
*/
UNIQUE_PROPS("uniqueProps"),
/**
+ * properties marked as required
+ * <br><b>comma separated list</b>
+ */
+ REQUIRED_PROPS("requiredProps"),
+ /**
* uri template for this object
*/
URI_TEMPLATE("uriTemplate"),