diff options
Diffstat (limited to 'common-be/src/main/java/org/openecomp/sdc/be/utils/TypeUtils.java')
-rw-r--r-- | common-be/src/main/java/org/openecomp/sdc/be/utils/TypeUtils.java | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/utils/TypeUtils.java b/common-be/src/main/java/org/openecomp/sdc/be/utils/TypeUtils.java index 00e8a9ab09..66c64bd05f 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/utils/TypeUtils.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/utils/TypeUtils.java @@ -21,6 +21,8 @@ package org.openecomp.sdc.be.utils; import java.util.Map; import java.util.function.Consumer; +import lombok.AllArgsConstructor; +import lombok.Getter; public class TypeUtils { @@ -38,6 +40,8 @@ public class TypeUtils { return FIRST_CERTIFIED_VERSION_VERSION; } + @Getter + @AllArgsConstructor public enum ToscaTagNamesEnum { DERIVED_FROM("derived_from"), IS_PASSWORD("is_password"), // Properties @@ -64,17 +68,11 @@ public class TypeUtils { //functions GET_INPUT("get_input"), // Definitions - DATA_TYPES("data_types"), NODE_TYPES("node_types"), IMPORTS("imports"); + DATA_TYPES("data_types"), NODE_TYPES("node_types"), IMPORTS("imports"), - private final String elementName; - - ToscaTagNamesEnum(final String elementName) { - this.elementName = elementName; - } + DERIVED_FROM_NAME("derivedFromName"); - public String getElementName() { - return elementName; - } + private final String elementName; } } |