re base code
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / jsontitan / datamodel / ToscaElementTypeEnum.java
index 1dc7532..3ee492b 100644 (file)
@@ -23,27 +23,27 @@ package org.openecomp.sdc.be.model.jsontitan.datamodel;
 import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
 
 public enum ToscaElementTypeEnum {
-       NodeType("node_type"),
-       TopologyTemplate("topology_template");
-       
-       String value;
-       private ToscaElementTypeEnum(String value){
-               this.value = value;
-       }
-       
-       public static  VertexTypeEnum getVertexTypeByToscaType(ToscaElementTypeEnum toscaType ){
-               switch ( toscaType ){
-               case NodeType :
-                       return VertexTypeEnum.NODE_TYPE;
-               case TopologyTemplate :
-                       return VertexTypeEnum.TOPOLOGY_TEMPLATE;
-               default :
-                       return  null;
-               }
-       }
+    NODE_TYPE("node_type"),
+    TOPOLOGY_TEMPLATE("topology_template");
+
+    String value;
+    private ToscaElementTypeEnum(String value){
+        this.value = value;
+    }
+
+    public static  VertexTypeEnum getVertexTypeByToscaType(ToscaElementTypeEnum toscaType ){
+        switch ( toscaType ){
+        case NODE_TYPE :
+            return VertexTypeEnum.NODE_TYPE;
+        case TOPOLOGY_TEMPLATE :
+            return VertexTypeEnum.TOPOLOGY_TEMPLATE;
+        default :
+            return  null;
+        }
+    }
+
+    public String getValue() {
+        return value;
+    }
 
-       public String getValue() {
-               return value;
-       }
-       
 }