首页 > 代码库 > UML的基础元件之架构元件(四)

UML的基础元件之架构元件(四)



Structural Things

An artifact is a physical and replaceable part of a system that contains physical information (bits). In a system, youll encounter different kinds of deployment artifacts, such as source code files, executables, and scripts. An artifact typically represents the physical packaging of source or run-time information. Graphically, an artifact is rendered as a rectangle with the keyword <<artifact>> above the name.

 

工件是系统在物理上可替换的部分,包含了物理信息(资料). 在系统中,你会看到不同种类的部署工件,如源代码,可执行文件和脚本.工件最典型的表现是物理上的资源包或者是运行期间的信息.在图形表现上,工件由一个带有<<工件>>标识的长方形表示,在<工件>标识下方显示此工件的名称.

 

Anodeis a physical element that exists at run time and represents a computational resource, generally having at least some memory and, often, processing capability. A set of components may reside on a node and may also migrate from node to node. Graphically, a node is rendered as a cube, usually including only its name.

结点是系统运行时存在的物理元素,表示一个计算资源,一般至少有内存,有时也具有处理能力.组件集可能驻留在一个结点中,也可能从一个结点迁移到另一个结点.图形表示上,结点通常被表现为只包含一个名称的立方体,

 

These elements -- classes, interfaces, collaborations, use cases, active classes, components, artifacts, and nodes -- are the basic structural things that you may include in a UML model. There are also variations on these, such as actors, signals, and utilities (kinds of classes); processes and threads (kinds of active classes); and applications, documents, files, libraries, pages, and tables (kinds of artifacts).

 

类,接口,交互,用例,活动类,组件,工件和结点,这些元素是包含在UML模型中的最基本的架构元件.在这些元件基础之上还可以演变为其它的元件,诸如角色,信号,公共模块(类的种类);过程和线程(活动类的种类);应用,文档,文件,库,页,表(文件的种类).