本文整理匯總了Java中org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration類的典型用法代碼示例。如果您正苦於以下問題:Java TypeDeclaration類的具體用法?Java TypeDeclaration怎麽用?Java TypeDeclaration使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
TypeDeclaration類屬於org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model包,在下文中一共展示了TypeDeclaration類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: GeneralClassTemplate
import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
public GeneralClassTemplate(Header header, String packageName, String name,
List<String> extendedClasses, List<String> implementedIfcs,
List<Field> fields, List<MethodDefinition> methods,
boolean isAbstract, boolean isFinal, List<Constructor> constructors) {
super(header, packageName, fields, methods, new TypeDeclaration(
"class", name, checkCardinality(extendedClasses),
implementedIfcs, isAbstract, isFinal));
this.constructors = constructors;
}
示例2: AbstractFtlTemplate
import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
protected AbstractFtlTemplate(Header header, String packageName,
List<Field> fields, List<? extends Method> methods,
TypeDeclaration typeDeclaration) {
this.packageName = packageName;
this.fields = fields;
this.methods = methods;
this.annotations = Lists.newArrayList();
this.typeDeclaration = typeDeclaration;
this.header = header;
}
示例3: GeneralInterfaceTemplate
import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
public GeneralInterfaceTemplate(Header header, String packageName,
String name, List<String> extendedInterfaces,
List<MethodDeclaration> methods) {
super(header, packageName, Collections.<Field> emptyList(), methods,
new TypeDeclaration("interface", name, extendedInterfaces,
Collections.<String> emptyList()));
}
示例4: getTypeDeclaration
import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
@Override
public TypeDeclaration getTypeDeclaration() {
return typeDeclaration;
}
示例5: getTypeDeclaration
import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
TypeDeclaration getTypeDeclaration();