AAI-1523 Batch reformat aai-schema-ingest
[aai/aai-common.git] / aai-schema-ingest / src / main / java / org / onap / aai / edges / enums / DirectionNotation.java
index 5a69603..49a094b 100644 (file)
 
 package org.onap.aai.edges.enums;
 
-public enum DirectionNotation { 
-       DIRECTION("${direction}"), 
-       OPPOSITE("!${direction}");
+public enum DirectionNotation {
+    DIRECTION("${direction}"), OPPOSITE("!${direction}");
 
-       private final String val;
-       
-       DirectionNotation(String dir) {
-               this.val = dir;
-       }
-       
-       public static DirectionNotation getValue(String val) {
-               if (DIRECTION.toString().equals(val)) {
-                       return DIRECTION;
-               } else if (OPPOSITE.toString().equals(val)) {
-                       return OPPOSITE;
-               } else {
-                       throw new IllegalArgumentException();
-               }
-       }
-       
-       @Override
-       public String toString() {
-               return this.val;
-       }
-}
\ No newline at end of file
+    private final String val;
+
+    DirectionNotation(String dir) {
+        this.val = dir;
+    }
+
+    public static DirectionNotation getValue(String val) {
+        if (DIRECTION.toString().equals(val)) {
+            return DIRECTION;
+        } else if (OPPOSITE.toString().equals(val)) {
+            return OPPOSITE;
+        } else {
+            throw new IllegalArgumentException();
+        }
+    }
+
+    @Override
+    public String toString() {
+        return this.val;
+    }
+}