aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/convertor/ElementToProcessConvertor.java12
1 files changed, 5 insertions, 7 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/convertor/ElementToProcessConvertor.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/convertor/ElementToProcessConvertor.java
index 5d3ebc32ad..0e5ff4aaee 100644
--- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/convertor/ElementToProcessConvertor.java
+++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/convertor/ElementToProcessConvertor.java
@@ -12,6 +12,11 @@ import java.nio.ByteBuffer;
public class ElementToProcessConvertor extends ElementConvertor<ProcessEntity> {
+ public static final String NAME = "name";
+ public static final String ARTIFACT_NAME = "artifactName";
+ public static final String DESCRIPTION = "description";
+ public static final String PROCESS_TYPE = "processType";
+
@Override
public ProcessEntity convert(Element element) {
if (element == null) {
@@ -35,7 +40,6 @@ public class ElementToProcessConvertor extends ElementConvertor<ProcessEntity> {
return processEntity;
}
-
public void mapInfoToProcessEntity(ProcessEntity processEntity, Info info) {
processEntity.setName(info.getProperty(NAME));
processEntity.setArtifactName(info.getProperty(ARTIFACT_NAME));
@@ -44,10 +48,4 @@ public class ElementToProcessConvertor extends ElementConvertor<ProcessEntity> {
(PROCESS_TYPE) != null ? ProcessType.valueOf(info.getProperty
(PROCESS_TYPE)) : null);
}
-
-
- public static final String NAME = "name";
- public static final String ARTIFACT_NAME = "artifactName";
- public static final String DESCRIPTION = "description";
- public static final String PROCESS_TYPE = "processType";
}