public OpenType<?> getCompositeTypeForIdentity() {
final String[] itemNames = new String[]{IdentityAttributeRef.QNAME_ATTR_NAME};
final String description = getNullableDescription() == null ? getAttributeYangName() : getNullableDescription();
final OpenType<?>[] itemTypes = new OpenType[]{SimpleType.STRING};
try {
return new CompositeType(getUpperCaseCammelCase(), description, itemNames, itemNames, itemTypes);
} catch (final OpenDataException e) {
throw new RuntimeException("Unable to create " + CompositeType.class + " with inner element of type "
+ itemTypes, e);
}
}
JavaAttribute.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:hashsdn-controller
作者:
评论列表
文章目录