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.mdsal.binding.model.util;
10 import org.opendaylight.mdsal.binding.model.api.JavaTypeName;
13 * Wraps combination of <code>packageName</code> and <code>name</code> to the object representation.
15 public final class ReferencedTypeImpl extends AbstractBaseType {
17 * Creates instance of this class with concrete package name and type name.
19 * @param identifier JavaTypeName of the referenced type
21 public ReferencedTypeImpl(final JavaTypeName identifier) {
26 public String toString() {
27 final StringBuilder builder = new StringBuilder();
28 builder.append("ReferencedTypeImpl [packageName=");
29 builder.append(getPackageName());
30 builder.append(", name=");
31 builder.append(getName());
33 return builder.toString();