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