diff options
Diffstat (limited to 'catalog-model')
-rw-r--r-- | catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java index 7b188ac978..64660ec15f 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java @@ -94,6 +94,7 @@ public abstract class Component implements PropertiesOwner { public void setCategorySpecificMetadata(final Map<String, String> categorySpecificMetadata) { componentMetadataDefinition.getMetadataDataDefinition().setCategorySpecificMetadata(categorySpecificMetadata); } + public Map<String, String> getCategorySpecificMetadata() { final Map<String, String> categorySpecificMetadata = componentMetadataDefinition.getMetadataDataDefinition().getCategorySpecificMetadata(); return categorySpecificMetadata == null ? Collections.emptyMap() : categorySpecificMetadata; |