继承是一个耦合机制:它使用关于可见性、方法调度等定义明确的规则绑定两个实体。
Inheritance is a coupling mechanism: it binds two entities together with well-defined rules about visibility, method dispatch, and so on.
构造型提供了元模型级的继承,而标记在元模型级提供了向构造型增加类属性信息的机制。
While a stereotype offers metamodel-level inheritance, a tag offers a metamodel-level mechanism to add attribute-like information to a stereotype.
同样地,WSDL 1.1甚至没有包含一种机制来提供接口继承。
As such, WSDL 1.1 did not even contain a mechanism allowing for interface inheritance.
应用推荐