AAI-1523 Batch reformat aai-schema-ingest
[aai/aai-common.git] / aai-schema-ingest / src / main / java / org / onap / aai / validation / edges / EdgeFieldsValidationModule.java
index 10ac189..3bfa8d8 100644 (file)
@@ -27,28 +27,28 @@ import java.util.Map;
  *
  */
 public interface EdgeFieldsValidationModule {
-       
-       /**
-        * Verifies the given rule has all required fields.
-        * Implement to check for what you determine to be required.
-        * You may also throw an error on unexpected fields if you wish,
-        * whatever makes sense for your system.
-        
-        * @param rule - Map<String, String> that will look something like this:
-        *              {
-        *                      "from": "foo",
-        *                      "to": "bar",
-        *                      "label": "tosca.relationships.network.BindsTo",
-        *                      "direction": "OUT",
-        *                      "multiplicity": "ONE2ONE",
-        *                      "contains-other-v": "NONE",
-        *                      "delete-other-v": "NONE",
-        *                      "prevent-delete": "NONE",
-        *                      "default": "true",
-        *                      "description":"An edge comment"
-        *              }
-        * @return empty String if no errors found, or String with
-        *      the appropriate error message
-        */
-       public String verifyFields(Map<String, String> rule);
+
+    /**
+     * Verifies the given rule has all required fields.
+     * Implement to check for what you determine to be required.
+     * You may also throw an error on unexpected fields if you wish,
+     * whatever makes sense for your system.
+     * 
+     * @param rule - Map<String, String> that will look something like this:
+     *        {
+     *        "from": "foo",
+     *        "to": "bar",
+     *        "label": "tosca.relationships.network.BindsTo",
+     *        "direction": "OUT",
+     *        "multiplicity": "ONE2ONE",
+     *        "contains-other-v": "NONE",
+     *        "delete-other-v": "NONE",
+     *        "prevent-delete": "NONE",
+     *        "default": "true",
+     *        "description":"An edge comment"
+     *        }
+     * @return empty String if no errors found, or String with
+     *         the appropriate error message
+     */
+    public String verifyFields(Map<String, String> rule);
 }