And once we identify our class responsibilities, we should construct an analysis class diagram to capture the structure of the relationships among our classes.
一旦我们确定了我们的类的职责,我们就可以设计一个分析类图,来描述类间关系的整体结构。
Both have helped me understand patterns, and I use examples and excerpts from them in my object-oriented analysis and design classes.
这两本书都曾帮助我理解模式,并且在我面向对象的分析与设计课程上,我使用了从中摘录的例子。
Data flow analysis can examine problems that span multiple classes.
数据流分析可以检查跨越多个类的问题。
The messages in analysis are assigned to the classes based on the responsibilities we have given each class.
分析阶段的消息现在分配给基于职责的类,这些职责是我们赋予给每个类的。
The transition from use cases and analysis classes to design and design classes was unavoidably blurry.
从用例和分析类到设计和设计类的转化是不可避免的模糊的。
In analysis, you will discover some of the attributes (i.e., class data variables) that your classes will need in order to meet their responsibilities.
在分析中,我们会发现,类为了完成自己的职责,会需要一些属性(也就是类的属性变量)。
So, in this article I am going to concentrate on the business-level, technology-agnostic analysis classes, and leave alone almost all technology issues until we discuss design.
因此,在这一步,我将会侧重于业务方面的,与技术无关的分析类。在讨论设计的时候再讨论涉及技术的部分。
In analysis, our use case realization contains only analysis classes and objects, which may populate various UML diagrams such as class diagrams and interaction diagrams.
在分析阶段,我们的用例实现只包括分析类及分析对象,它们能组装成不同的UML图如类图和交互图。
For example, during detailed analysis, you might want to simplify the data gathering and reduce the overhead by focusing the metrics on the classes belonging to one specific application.
例如,在详细分析过程中,您可能希望通过将度量集中于属于一个特定应用程序的类,简化数据收集和减少开销。
As output work products, the task defines a use-case realization as well as the analysis model comprising analysis classes.
作为工作产品的输出,任务定义了一个用例实现和分析模型组成的一个分析类。
With the analysis classes and their relationships identified, I then populated each analysis class with attributes (data members) that were in accord with the responsibilities of each class.
借助这些分析类及其已确定的关系,我又给每个分析类配上与其职责相一致的属性(数据成员)。
So far we don't have any classes, so our main goal will be to identify the analysis classes we need in our Auto Rental system.
因为我们还没有任何类,所以我们的主要目标就是找出在汽车租借系统中的所有分析类。
Bear in mind that you want to supplement the use-case descriptions only to the point that you can effectively determine the analysis classes in your system.
请注意,只需要把用例描述细化到你可以很好的找出系统中的分析类的程度就可以了。
It requires a careful analysis of not only the conditions under which variables will be read or written, but also of how the class might be used by other classes.
它不但要求仔细分析在什么条件可以对变量进行读写,而且要求仔细分析其它类能如何使用某个类。
In our first approach to addressing persistence, we put DBMS knowledge in the object representing our business abstractions (i.e., analysis classes).
在我们解决持续性的第一个方法中,我们把DBMS的信息放在表示业务抽象(即分析类)的对象里。
The analysis mechanism identifies suspected leaking data structure classes and packages.
这一分析机制确定了受怀疑的泄漏数据结构类和数据包。
In particular, analysis is performed to identify the most reusable aggregations of the classes of the BOM model.
尤其是,执行分析来识别BOM模型中的类的最可复用的集合。
The class diagram shown in Figure 8 shows our vehicle rental analysis classes, the relationships between them, and an initial start on the attributes appropriate to be owned in each class.
图8中的类图上展示了汽车租借的分析类、它们之间的关系以及每个类所拥有的一些基本的属性。
Software architects use the model to define a software architecture that fits the organization seamlessly, as well as to identify classes in software analysis and design models.
软件架构师通过该模型定义无缝连接的软件架构,同时在软件分析和设计模型中定义类。
Most of the transformations that we were involved with were implemented with a number of classes, and as a result, underwent an analysis and a design phase.
我们涉及的大多数转换由许多类来进行实现,因此,要经历一个分析和设计阶段。
RUP's entity classes are roughly equivalent to the business-level analysis classes above.
RUP过程中的实体类大致上相当于前面提到的,业务级别的分析类。
According to RUP, the purpose of this step is to identify a candidate set of analysis classes which will be capable of performing the behavior described in our use cases.
根据RUP过程,这一步的目的是找出分析类的候选范围,这些类合作起来,可以完成用例的所有行为。
If your first cut at a use case description is a bit thin in helping you identify some analysis classes, then do the supplemented use-case.
如果你觉得补充一些细节对于找出系统中的分析类有所帮助,那么就加上它。
The design classes (i.e., analysis classes plus technology classes) needed in our system.
系统需要的设计类(也就是分析类加技术类)。
From this list we extract those candidates that we have designated "yes." this yields the following list of analysis classes.
从这个列表中,我们列出了通过了问题检查的词,也就是下面列出的分析类。
With your new project and some up-front support classes defined, you can now create an analysis provider class.
因为新的项目和一些前件支持定义的类,所以现在您就可以创建一个分析provider类。
Figure 5: Questions for discovering analysis classes.
图5:用来寻找分析类的问题。
The diagram in Figure 1 contains most of the classes and interfaces needed to create and execute analysis providers.
图1中的图表包含了,创建及运行分析Provider所需的多数类以及接口。
So you can assume that the memory leak is in WebSphere Application Server when there are WebSphere-specific classes showing up in the analysis results.
所以,当在分析结果中显示特定于WebSphere的类时,就可以假定在WebSphereApplicationServer中存在内存泄漏。
Use-Case analysis step 5: Establish associations between analysis classes.
用例分析第五步:建立分析类之间的关系。
应用推荐