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.controller.config.yangjmxgenerator.plugin.ftl;
10 import java.util.Collections;
11 import java.util.List;
12 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
13 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.MethodDeclaration;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration;
17 public class GeneralInterfaceTemplate extends AbstractFtlTemplate {
19 public GeneralInterfaceTemplate(Header header, String packageName,
20 String name, List<String> extendedInterfaces,
21 List<MethodDeclaration> methods) {
22 super(header, packageName, Collections.<Field> emptyList(), methods,
23 new TypeDeclaration("interface", name, extendedInterfaces,
24 Collections.<String> emptyList()));