Bug 6859: Cleanup package names for mdsal-binding-generator-util module
[mdsal.git] / binding / mdsal-binding-generator-util / src / main / java / org / opendaylight / yangtools / binding / generator / util / ReferencedTypeImpl.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.yangtools.binding.generator.util;
9
10 /**
11  *
12  * Wraps combination of <code>packageName</code> and <code>name</code> to the
13  * object representation
14  *
15  * @deprecated Use {@link org.opendaylight.mdsal.binding.generator.util.ReferencedTypeImpl} instead.
16  */
17 @Deprecated
18 public final class ReferencedTypeImpl extends AbstractBaseType {
19
20     /**
21      * Creates instance of this class with concrete package name and type name
22      *
23      * @param packageName
24      *            string with the package name
25      * @param name
26      *            string with the name for referenced type
27      */
28     public ReferencedTypeImpl(String packageName, String name) {
29         super(packageName, name);
30     }
31
32     @Override
33     public String toString() {
34         StringBuilder builder = new StringBuilder();
35         builder.append("ReferencedTypeImpl [packageName=");
36         builder.append(getPackageName());
37         builder.append(", name=");
38         builder.append(getName());
39         builder.append("]");
40         return builder.toString();
41     }
42 }