问题描述
看下面的代码,val和ref有什么区别,[*]又是什么意思?无法使用谷歌找到这个。参考链接也很有帮助。
@namespace(uri="software_distribution",prefix="")
package software_distribution;
class ProductFamily {
val Bundle[*] bundles;
val Component[*] components;
val Jar[*] jars;
}
class Bundle {
attr String name;
attr Integer price;
ref Component[*] components;
}
class Component {
attr String name;
ref Component[*] dependencies;
ref Jar[*] jars;
}
class Jar {
attr String filename;
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)