-/*\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.controller.data.util;\r
-\r
-import org.opendaylight.controller.yang.common.QName;\r
-import org.opendaylight.controller.yang.data.api.CompositeNode;\r
-import org.opendaylight.controller.yang.data.api.Node;\r
-\r
-public abstract class AbstractNode<T> implements Node<T> {\r
-\r
- private final QName nodeName;\r
- private final CompositeNode parent;\r
-\r
- protected AbstractNode(QName name, CompositeNode parent) {\r
- nodeName = name;\r
- this.parent = parent;\r
- }\r
-\r
- public QName getNodeType() {\r
- return this.nodeName;\r
- }\r
-\r
- public CompositeNode getParent() {\r
- return parent;\r
- }\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.controller.yang.data.util;
+
+import org.opendaylight.controller.yang.common.QName;
+import org.opendaylight.controller.yang.data.api.CompositeNode;
+import org.opendaylight.controller.yang.data.api.Node;
+
+public abstract class AbstractNode<T> implements Node<T> {
+
+ private final QName nodeName;
+ private final CompositeNode parent;
+
+ protected AbstractNode(QName name, CompositeNode parent) {
+ nodeName = name;
+ this.parent = parent;
+ }
+
+ public QName getNodeType() {
+ return this.nodeName;
+ }
+
+ public CompositeNode getParent() {
+ return parent;
+ }
+}