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;
11 import java.util.List;
13 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Annotation;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
16 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Method;
17 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration;
19 public interface FtlTemplate {
23 String getPackageName();
27 public List<Annotation> getAnnotations();
29 TypeDeclaration getTypeDeclaration();
31 public String getFullyQualifiedName();
33 public List<Field> getFields();
35 List<? extends Method> getMethods();
38 * @return relative path to file to be created.
40 public File getRelativeFile();
44 * @return ftl template location
46 public String getFtlTempleteLocation();