Fixing sonar issues 2
[yangtools.git] / code-generator / binding-generator-spi / src / main / java / org / opendaylight / yangtools / sal / binding / generator / spi / YANGModuleIdentifier.java
index 1e7d98e38619024fe0c7be300ba69fc5052e922d..d948cdeb90f91dcee3e4d3ee0cac5e0eceaf496d 100644 (file)
@@ -1,17 +1,45 @@
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.yangtools.sal.binding.generator.spi;\r
-\r
-import java.net.URI;\r
-import java.util.Date;\r
-\r
-public class YANGModuleIdentifier {\r
-    String name;\r
-    URI namespace;\r
-    Date revision;\r
-}\r
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.sal.binding.generator.spi;
+
+import java.net.URI;
+import java.util.Date;
+
+
+public class YANGModuleIdentifier {
+    private String name;
+    private URI namespace;
+    private Date revision;
+
+    /**
+     * Returns name.
+     * 
+     * @return string with name
+     */
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * Returns URI namespace.
+     * 
+     * @return URI with namespace
+     */
+    public URI getNamespace() {
+        return this.namespace;
+    }
+
+    /**
+     * Returns the revision date.
+     * 
+     * @return date of revision
+     */
+    public Date getRevision() {
+        return this.revision;
+    }
+}