+++ /dev/null
-/*
- * Copyright (c) 2017 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.mdsal.binding.javav2.model.api;
-
-import com.google.common.annotations.Beta;
-
-/**
- *
- * The Type interface defines the base type for all types defined in java. Each
- * Type defined in java MUST contain name and package name, except of primitive
- * types like int, byte etc. In case of mapping of primitive type the package
- * name MUST be left as empty string.
- *
- */
-@Beta
-public interface Type {
-
- /**
- * Returns name of the package that interface belongs to.
- *
- * @return name of the package that interface belongs to
- */
- String getPackageName();
-
- /**
- * Returns name of the interface.
- *
- * @return name of the interface.
- */
- String getName();
-
- /**
- * Returns fully qualified name of Type. <br>
- * The fully qualified name of Type MUST be returned in following format:
- * <ul>
- * <li>If does not contains package name: [type name] (e.g. int, byte,
- * byte[],...)</li>
- * <li>If Type contains package name: [package name].[type name] (e.g
- * java.lang.Byte, org.opendaylight.controller.gen.GenType)</li>
- * </ul>
- *
- * @return fully qualified name of Type.
- */
- String getFullyQualifiedName();
-}