Bug 6859 #3 Binding generator v1 refactoring
[mdsal.git] / binding / mdsal-binding-generator-impl / src / main / java / org / opendaylight / yangtools / sal / binding / yang / types / NodeWrappedType.java
diff --git a/binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/yang/types/NodeWrappedType.java b/binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/yang/types/NodeWrappedType.java
deleted file mode 100644 (file)
index 0029a51..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014 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.yang.types;
-
-import org.opendaylight.yangtools.yang.parser.util.TopologicalSort.NodeImpl;
-
-public final class NodeWrappedType extends NodeImpl {
-    /**
-     * The payload which is saved inside Node
-     */
-    private final Object wrappedType;
-
-    /**
-     * Create new instance of class <code>NodeWrappedType</code>.
-     * 
-     * @param wrappedType
-     *            object with payload data
-     */
-    NodeWrappedType(Object wrappedType) {
-        this.wrappedType = wrappedType;
-    }
-
-    /**
-     * Gets payload from class
-     * 
-     * @return object with <code>wrappedType</code>
-     */
-    Object getWrappedType() {
-        return wrappedType;
-    }
-
-    @Override
-    public boolean equals(Object o) {
-        if (this == o) {
-            return true;
-        }
-        if (!(o instanceof NodeWrappedType)) {
-            return false;
-        }
-        NodeWrappedType nodeWrappedType = (NodeWrappedType) o;
-        if (!wrappedType.equals(nodeWrappedType.wrappedType)) {
-            return false;
-        }
-        return true;
-    }
-
-    @Override
-    public int hashCode() {
-        return wrappedType.hashCode();
-    }
-
-    @Override
-    public String toString() {
-        return "NodeWrappedType{" + "wrappedType=" + wrappedType + '}';
-    }
-
-}