要建模继承,可以利用由uml建模面板提供的一般化关系,它是从继承类到基础类而绘制出来的。
To model inheritance, use the generalization relationship provided by the UML modeling palette, which is drawn from the inherited class to the base class.
由于在其类架构类型(archetype - like)主题DTD中使用了元素的一般化设计,DITA为专门化提供了坚实的基础。
DITA provides a rich base for specialization because of the general design of elements used in its archetype-like topic DTD.
通过使方面足够一般化,可以影响测试类中的mock目标,还会保证它可以容易地让真实类参与方面的行为。
By making your aspect general enough to affect a mock target inside a test class, you ensure that it's also easy for a real class to participate in the aspect's behavior.
应用推荐