metaclass

metaclass

 英

  • 网络元类;如元类;元类型

例句

You could accomplish the above sort of job with a custom metaclass, attached to XO, but with behavior determined dynamically.

应该一个附加XO行为动态决定定义完成上述工作

It demonstrates the actual details of the profile and shows each stereotype with its metaclass, using the extension notation.

示范概要文件实际细节并且利用扩展符号展示带有原型

Observe that if the metaclass extension was to an abstract EClass, it will not show in the list.

注意如果这个扩展以前一个抽象EClass不会显示这个列表

The outcome of the analysis phase is a metaclass model that describes candidate services, their role stereotypes, and their operations.

分析阶段产物一个模型模型描述候选服务候选服务角色构造型及其操作

You can add a new extension by clicking the Add Extension button, which starts the Create Metaclass Extension dialog shown in Figure 8.

可以通过点击AddExtension按键添加一个扩展启动一个创建扩展对话8

The values of such attributes would be actual instance(s) of the metaclass.

这个属性实例生效

The metaclass will create the class (as a new style one) and will pass it to the class initializer procedure.

创建作为一个新式传递初始过程

Properties of class type (including metaclass and stereotype associations) should have this option selected.

属性包括原型关联应该选择这个属性

Many programmers are confused about the difference between a metaclass and a base class.

许多程序员混淆不同

Please note that the stereotype can be applied only to the elements whose metaclass it extends.

注意原型仅仅可以应用元素扩展

Notice that you can undo the metaprogramming by simply setting the String. metaClass to null.

注意只需String.metaClass设置null就可以取消编程

If this is not your case, skip the metaclass and make your life (and that of your users) happier.

如果属于这种情形跳过使用户生活更加惬意

Finally, it contains a stereotype, lessThan, which extends the metaclass Association.

最后包含一个原型lessThan扩展Association

Concrete subtypes of the metaclass extension's EClass will automatically be added.

扩展EClass具体子类型将会自动添加

Ability to create metaclass extensions through Project Explorer, not just in the Properties view.

通过使用项目浏览器可以创建扩展标记不仅仅是属性视图

Another common confusion arises between Python classmethods and methods defined in a metaclass, best called metamethods.

另一个常见混淆出现Python方法定义方法最好称之为方法之间

From comments to packages, including classes themselves, every concept in UML has a metaclass.

注释包括本身UML每个概念一个

If you generate a metaclass association or a stereotype association, you need to generate the tooling or shape for the stereotyped ends.

如果产生联合或者一个固定模型联合需要这个固定模式终端产生工具或者形状

In the following example, the msg String instance has got a meta-class that we can access through the metaClass property.

下面例子字符串msg实例我们可以通过metaClass属性访问

If there is no icon defined in the profile, the icon corresponding to the metaclass extension will be used.

如果这个配置文件没有定义图标这个对应扩展图标使用

One or more entries for each metaclass extension of each stereotype.

每个固定模型扩展一个或者多个条目

The metamethod "mm" can be invoked from either the metaclass or from the class, but not from the instance.

方法mm可以调用不是不能实例调用

A metaclass as such is a class and, therefore, has a class description.

如此也是一个因此自己描述

Just select multiple items of the same metaclass, such as several attributes.

单单选择同一例如一些属性

Contrary to popular belief, this is a job where most of the time you do not need and you do not want a custom metaclass.

流行观点相反一个大多数时候需要而且不想要定义工作

As well as being a class, Duke is an instance of the metaclass Nobility--attribute lookup proceeds as with any object

Duke一个也是Nobility一个实例——属性查找过程其他对象一致

class descriptions with the same set of method pointers constitute a metaclass ? class descriptions are objects , too

有着同一方法指针描述构成一个??描述也是对象

The metatype conflict can be avoided by manually creating the needed metaclass for C

C手工创建必需可以避免冲突

a metaclass , again , has a class description

同样一个描述

Metaclasses defined in the UML 2. 1 metamodel (through metaclass association)

定义UML2.1模型通过关联

热门查询