2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.binding.generator.util;
12 * Wraps combination of <code>packageName</code> and <code>name</code> to the
13 * object representation
16 public final class ReferencedTypeImpl extends AbstractBaseType {
19 * Creates instance of this class with concrete package name and type name
22 * string with the package name
24 * string with the name for referenced type
26 public ReferencedTypeImpl(String packageName, String name) {
27 super(packageName, name);
31 public String toString() {
32 StringBuilder builder = new StringBuilder();
33 builder.append("ReferencedTypeImpl [packageName=");
34 builder.append(getPackageName());
35 builder.append(", name=");
36 builder.append(getName());
38 return builder.toString();