Fix checkstyle warnings and formatting
[aai/babel.git] / src / main / java / org / onap / aai / babel / xml / generator / model / Service.java
index 9d22e41..8a9e428 100644 (file)
@@ -2,8 +2,8 @@
  * ============LICENSE_START=======================================================
  * org.onap.aai
  * ================================================================================
- * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
- * Copyright © 2017-2018 European Software Marketing Ltd.
+ * Copyright © 2017-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2019 European Software Marketing Ltd.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.babel.xml.generator.model;
 
-import org.onap.aai.babel.xml.generator.types.Cardinality;
+import java.util.Collections;
+import java.util.Map;
+import org.onap.aai.babel.xml.generator.model.Widget.Type;
 
-@org.onap.aai.babel.xml.generator.types.Model(widget = Widget.Type.SERVICE, cardinality = Cardinality.UNBOUNDED,
-        dataDeleteFlag = true)
 public class Service extends Model {
 
     @Override
@@ -38,6 +39,16 @@ public class Service extends Model {
 
     @Override
     public Widget.Type getWidgetType() {
-        return null;
+        return Type.SERVICE;
+    }
+
+    @Override
+    public Map<String, Object> getProperties() {
+        return Collections.emptyMap();
+    }
+
+    @Override
+    public boolean isResource() {
+        return false;
     }
 }