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模型通過關聯