他们可以在类图中查看代码,来观察这些关系。
They can view their code in Class Diagrams to see these relationships.
除此之外,你可以定义类之间的关系。
我也能根据类的关系定义它们之间的层次。
I can also define a class hierarchy based upon their relationship.
确定哪些分析类具有与其它类之间的关系。
Identify which of these analysis classes have some kind of relationship with each other.
图7显示了所有类和接口的关系。
The relationship of all the classes and interfaces is shown in Figure 7.
客户关系通常分为两类。
Customer relationships are often divided into two categories.
定义的类装入器和它们之间的关系。
The defined class loaders and the relationship between them.
这样就会允许许多Resource实现类使用相同的关系逻辑。
This would allow many Resource implementation classes to use the same relationship logic.
首先,从Book类这一侧分析这种关系。
First, examine this relationship from the Book class side of the equation.
resourcepermission类理解所有者关系。
The ResourcePermission class understands the owner relationship.
注意,每个类之间并没有关系(只不过它们都拥有同一个方法 apply_filter)。
Note how each class isn't related (other than that they share the same method apply_filter).
关联:一个关联元素代表了两个端点类间的关系。
Association: An association element represents the relationship between two end classes.
在本场景中,可以在父类元素与子类元素之间创建一种关系。
In this scenario, a relationship can be established between these parent and child elements.
所有这些类(及更多类)之间的关系如图2所示。
The relationships between all these classes (and a few more) are shown in Figure 2.
它们所返回的DTO在图5的类关系图中进行了描述。
The DTO they return is described in the class diagram on Figure 5.
在这两个类间添加一个一对一的关联关系,如图4所示。
Add a One-to-One Association relationship between these two classes, as shown in Figure 4.
已完成的关系图应该与图9类似。
图1显示新的类关系图。
处于已提交状态的订单的类关系图可能与图3类似。
The class diagram for an order in the submitted state might look like Figure 3.
描述每个类的属性和关系。
在类继承关系内移动成员。
通常,belongs _ to关系只有一个类,但ContentBase中的关系却是多态的。
Normally, a belongs_to relationship is with only one class, but the relationship in ContentBase is polymorphic.
这被称为类实例所有者关系(class instance owner relationship)。
This is referred to as the class instance owner relationship.
类似地,LineItem类与产品对象也具有多对一关系。
Similarly, the LineItem class has a many-to-one relationship to the product object as well.
这个类基本上是样板代码,与Comet没有直接的关系。
This class is mostly boilerplate code, not directly relevant to Comet.
在类关系图中,它由stringtype加以表示。
将注释从“类设计器工具箱”拖到类关系图上。
Drag a comment from the class Designer Toolbox onto the class diagram.
在第一次迭代,我将重点关注类关系。
In the first iteration, I will focus on class relationships.
代理类将通知上下文的属性和关系的变化。
The proxy class will notify the context of property and relationship changes.
代理类将通知上下文的属性和关系的变化。
The proxy class will notify the context of property and relationship changes.
应用推荐