/* * Copyright (c) 2016 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.binding2.model.api; import com.google.common.annotations.Beta; import java.util.List; /** * Every Java interface has to be specified with: *
package
that belongs intointerface
name (with commentary that SHOULD be
* present to proper define interface and base contracts specified for
* interface)enum
and constant
definitions (i.e. each
* constant definition is by default defined as public static final
* + type (either primitive or object) and constant namemethod definitions
with specified input parameters (with
* types) and return valuesnull
*
* @return the parent type if Generated Type is defined as enclosing type,
* otherwise returns null
*/
Type getParentType();
/**
* Returns comment string associated with Generated Type.
*
* @return comment string associated with Generated Type.
*/
String getComment();
/**
* Returns List of annotation definitions associated with generated type.
*
* @return List of annotation definitions associated with generated type.
*/
Listtrue
if The Generated Type is defined as abstract.
*
* @return true
if The Generated Type is defined as abstract.
*/
boolean isAbstract();
/**
* Returns List of Types that Generated Type will implement.
*
* @return List of Types that Generated Type will implement.
*/
List