Create relationships with aggregation or composition between the classes.
在类间创建聚集及组成关系。
Thus the differences between the classes have increasingly diminished.
因此,不同飞机类型之间的差异在减小。
Figure 1 illustrates the static relationship between the classes described.
图1说明了所描述的类之间的静态关系。
As you can see in Figure 2, the foreign key is mapped as a relation between the classes.
正如你可以看到图2中,外键映射为一类之间的关系。
Attendees would meet for lecture and discussion, and assignments would be worked on in between the classes.
参入者会参加各种讲座和讨论,而且在课程之间会分配一些作业。
Next, create an association relationship between the classes that enables you to choose either an aggregation or a composition relationship.
下一步,在类间创建关联关系,这使您能够在聚集及组成关系中选择一个。
Sequence diagrams take the capturing of application behaviour one step further, and let you see a closer view of the interactions between the classes that they are creating.
时序图更进一步地掌握了应用程序的行为,并且使你更加深入地看到各个类之间是如何交互的。
The user interface won't look any different — the fields will all be displayed using combo boxes — but the relationship between the classes is subtly but importantly different.
用户界面看起来没有任何不同 —这些字段都将使用组合框来显示 —但是类之间的关系稍微有些不同。
Finally, you can diagram the relationship between the classes by clicking on the Association button (fifth from the left) and drawing a line from the Person class to the Address class.
最后,您可以单击association按钮(左起第五个),绘制一条从person类指向address类的线段,从而绘制这两个类之间的关系图。
It can be used to access fields and methods in instances of a class, giving a way of dynamically hooking together classes at runtime without the need for any source code links between the classes.
可用它来访问类实例中的字段和方法,从而提供了一种在运行时将类动态地挂钩在一起,却无需类之间有任何源代码链接的方法。
It can be used to access fields and methods in instances of a class, providing a way of dynamically hooking together classes at runtime without the need for any source code links between the classes.
它能用于访问类实例中的字段和方法,从而提供了不需要类之间的任何源代码链接就能在运行时将类动态地挂钩在一起的方法。
Her intent may be to appeal over the heads of Paris's chattering classes, provoking a deliberate confrontation between polite opinion and popular sentiment.
她的意图可能是要在巴黎那些喋喋不休的阶层中引起共鸣,从而在礼貌的意见和大众的情绪之间引发一场深思熟虑的对抗。
In terms of class, digital divide exists among different types of workers and between the upper and middle classes and the lower class.
在阶级方面,不同类型的工作者,以及中上层阶级和下层阶级之间,都存在着数字鸿沟。
As a gamer, he cares deeply about the difference between character classes--whether a ninja, merchant, or citizen spaceman.
作为一个游戏玩家,他很关心人物的性格不同——是忍者、商人还是平民宇航员。
In addition, you can define the relations between classes.
除此之外,你可以定义类之间的关系。
They help limit the collaboration between aspect and classes to just annotations.
注解有助于把方面和类之间的协作只限定于注解。
Patterns do not include algorithms; rather, they focus on the relationships between classes.
模式不包含算法,相反地,它关注于类之间的关系。
The relationships between all these classes (and a few more) are shown in Figure 2.
所有这些类(及更多类)之间的关系如图2所示。
What you’ve done here is to define a simple one-to-one relationship between objects of the two classes.
这里所做的是在这两个类的对象之间定义简单的一对一关系。
The UML in Figure 7 shows the relationship between these classes.
图7中的UML显示了这些类之间的关系。
Using metadata in AOP programming limits the coupling between classes and aspects only to the metadata attached to the program elements.
在AOP编程中使用元数据将类与方面之间的耦合限制为附加在程序元素上的元数据。
Next time, I'll show how to add the relations between the two classes to finish the example.
下一次,我将展示如何在两个类之间添加关系,从而完成这个示例。
The relationship between classes and the dynamic objects they generate allows for much flexibility in a system.
类及其生成的动态对象之间的关系使得系统更灵活。
Sequence diagrams are used to specify the interactions between classes on the borders of these subsystems.
序列图用于指定子系统边界上的类之间的交互。
If you look at Listing 2, you can easily see the tight coupling between the underlying database schema and the DAO classes.
如果查看清单2,您可以轻松地看到底层数据库模式与dao类之间的紧密耦合。
In this case, creating Pegasus as a subclass of Horse makes sense because it expresses a relationship between the two classes.
在本例中,创建Pegasus作为Horse的子类很有意义,因为它表示了这两个类之间的关系。
Defines the associations between two classes that have the stereotype applied, such as Cascade and Fetch details.
定义两个应用了模板的类之间的关联,比如Cascade和Fetch细节。
Figure 2 shows the inheritance relationship between the DictionaryIO and XmlDictionaryIO classes.
图2显示了DictionaryIO和xmldictionaryio类之间的继承关系。
Figure 2 shows the inheritance relationship between the DictionaryIO and XmlDictionaryIO classes.
图2显示了DictionaryIO和xmldictionaryio类之间的继承关系。
应用推荐