2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
8 package org.opendaylight.controller.sal.binding.model.api;
\r
10 import java.util.List;
\r
13 * Every Java interface has to be specified with:
\r
15 * <li><code>package</code> that belongs into</li>
\r
16 * <li><code>interface</code> name (with commentary that <b>SHOULD</b> be
\r
17 * present to proper define interface and base <i>contracts</i> specified for
\r
19 * <li><code>enum</code> and <code>constant</code> definitions (i.e. each
\r
20 * constant definition is by default defined as <code>public static final</code>
\r
21 * + type (either primitive or object) and constant name</li>
\r
22 * <li><code>method definitions</code> with specified input parameters (with
\r
23 * types) and return values</li>
\r
26 * By the definition of the interface constant, enum and method definitions MUST
\r
27 * be public, so there is no need to specify the scope of visibility.
\r
31 public interface GeneratedType extends Type {
\r
33 public Type getParentType();
\r
36 * Returns Set of all Enumerator definitions associated with interface.
\r
38 * @return Set of all Enumerator definitions associated with interface.
\r
40 public List<Enumeration> getEnumDefintions();
\r
47 public List<Constant> getConstantDefinitions();
\r
54 public List<MethodSignature> getMethodDefinitions();
\r