當前位置: 首頁>>代碼示例>>Java>>正文


Java TypeDeclaration類代碼示例

本文整理匯總了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;
}
 
開發者ID:hashsdn,項目名稱:hashsdn-controller,代碼行數:10,代碼來源:GeneralClassTemplate.java

示例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;
}
 
開發者ID:hashsdn,項目名稱:hashsdn-controller,代碼行數:11,代碼來源:AbstractFtlTemplate.java

示例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()));
}
 
開發者ID:hashsdn,項目名稱:hashsdn-controller,代碼行數:8,代碼來源:GeneralInterfaceTemplate.java

示例4: getTypeDeclaration

import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
@Override
public TypeDeclaration getTypeDeclaration() {
    return typeDeclaration;
}
 
開發者ID:hashsdn,項目名稱:hashsdn-controller,代碼行數:5,代碼來源:AbstractFtlTemplate.java

示例5: getTypeDeclaration

import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration; //導入依賴的package包/類
TypeDeclaration getTypeDeclaration(); 
開發者ID:hashsdn,項目名稱:hashsdn-controller,代碼行數:2,代碼來源:FtlTemplate.java


注:本文中的org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。