www.久久久久|狼友网站av天堂|精品国产无码a片|一级av色欲av|91在线播放视频|亚洲无码主播在线|国产精品草久在线|明星AV网站在线|污污内射久久一区|婷婷综合视频网站

當前位置:首頁 > > 充電吧
[導讀] 9.4.3.1 Features(特征) Each Feature is associated with a Classifier called its featuringClassifier

9.4.3.1 Features(特征)


Each Feature is associated with a Classifier called its featuringClassifier. The Feature represents some structural or behavioral characteristic for its featuringClassifier, except for Properties acting as qualifiers (see 9.5.3).

每個特征都和一個叫做特征化類目的類目相關聯(lián)。特征表現(xiàn)類目的某些結構方面的或者是行為方面的特性。作為限定子的屬性除外。


The isStatic property specifies whether the characteristic relates to the Classifier’s instances considered individually (isStatic=false), or to the Classifier itself (isStatic=true). All semantics relating to Features that do not explicitly state whether the feature is static shall be assumed to refer to non-static Features. Where semantics are not explicitly specified for static Features, those semantics are undefined.

isStatic屬性定義特性是和類目的獨立的實例相有關(isStatic=false),還是和類目本身有關。所有和沒有明確說明是否為靜態(tài)的特征有關的語義都應該認為涉及的是非靜態(tài)特征。當語義沒有明確地為靜態(tài)特征定義,那些語義是無定義的(?)。


9.4.3.2 Structural Features(結構特征)
A StructuralFeature is a typed Feature of a Classifier that specifies the structure of instances of the Classifier.The StructuralFeatures of a Classifier that are Properties are called the attributes of the Classifier (see 9.2.3). In UML,
Property is the only kind of StructuralFeature so all of the StructuralFeatures of a Classifier are Properties, and hence attributes.

結構特征是類目的特征的一個種類,它定義了類目實例的結構。類目的結構特征是被稱為類目屬性的性質。在UML中,性質是結構特征唯一的一種類型,即類目的結構特征就是性質,也就是屬性。


For each instance of a Classifier there is a value or collection of values for each direct or inherited non-static attribute of the Classifier, as follows:

對于類目的每個實例的直接或繼承的非靜態(tài)屬性,存在值或值的聚合,規(guī)則如下:


· If the attribute’s multiplicity is 0..1, there shall either be no value or a single value whose Type conforms to the Type of the attribute

如果屬性的多重度是0..1,則不存在或存在一個單值,值的類型符合屬性的類型。


· If the attribute’s multiplicity is 1..1, there shall be a single value whose Type conforms to the Type of the attribute.

如果屬性的多重度是1..1,應給存在一個單值,值的類型符合屬性的類型。


· If the attribute’s multiplicity is j..k where k is not 1, there shall be a collection of values whose size is not less than j and not greater than k, each of whose Types conforms to the Type of the attribute.

如果屬性的多重都是j..k,這里k不為1,則存在一個值的聚合,聚合的大小不小于j而且不大于k,每一個類型都應該符合屬性的類型。


· If the attribute’s multiplicity is 0..0, there shall be no value or values.

如果屬性的多重都為0..0,那么不存在值或值的聚合。


If a StructuralFeature is marked with isStatic = true, then the bullet points above are relative to the Classifier itself considered as an identifiable individual within some execution scope, rather than to individual instances. (See sub
clause 6.3.1 for a discussion of execution scope.)

如果結構特征被標記為isStatic=true,那么上面的要點就是關于類目自身的,它在某些執(zhí)行域中被被識別,而不是一個獨立的實例被識別。


In a semantically conforming tool, each inherited static StructuralFeature shall have one of two alternative semantics:

在一個語義一致的工具中,每一個繼承的靜態(tài)結構特征應該具有兩個可選語義

中的一個:


1.Within an execution scope, the value or collection of values of the StructuralFeature is always the same for any inheriting Classifier as its value or collection of values for the owning Classifier. These semantics correspond
to those for static members in Java and C#.

?在執(zhí)行領域中,結構特征在繼承 類目中和在結構特征的擁有者類目中的的值或者值聚合都是一樣的。這樣的語義符合Java和C#對于靜態(tài)成員的定義。


2. Within an execution scope, the StructuralFeature has a separate and in??? dependent value or collection of values for its owning Classifier and for each Classifier that inherits it. These semantics correspond to those for class
instance variables in Ruby and Smalltalk.

在執(zhí)行領域中,結構特征在它的所有者類目中和繼承類目中有分離的,獨立的值或值聚合。這樣的語義符合Ruby和Smarttalk。


If a StructuralFeature is marked with isReadOnly true, then it may not be updated once it has been assigned an initial value. Conversely, when isReadOnly is false (the default), the value may be modified.

如果結構特征被標記為isReadOnly為真,那么一旦它被賦初值以后,就不應該再被更新。相反地,當isReadOnly為假(缺省值),值可以被更改。


參考資料:

《OMG Unified Modeling Language TM (OMG UML) Version 2.5》

? URL:http://www.omg.org/spec/UML/2.5


以上就是今天的文章,歡迎點贊,關注并推薦給您的朋友! 閱讀更多更新文章,請掃描下面二維碼,關注微信公眾號【面向對象思考】


本站聲明: 本文章由作者或相關機構授權發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內容真實性等。需要轉載請聯(lián)系該專欄作者,如若文章內容侵犯您的權益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

LED驅動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關鍵字: 驅動電源

在工業(yè)自動化蓬勃發(fā)展的當下,工業(yè)電機作為核心動力設備,其驅動電源的性能直接關系到整個系統(tǒng)的穩(wěn)定性和可靠性。其中,反電動勢抑制與過流保護是驅動電源設計中至關重要的兩個環(huán)節(jié),集成化方案的設計成為提升電機驅動性能的關鍵。

關鍵字: 工業(yè)電機 驅動電源

LED 驅動電源作為 LED 照明系統(tǒng)的 “心臟”,其穩(wěn)定性直接決定了整個照明設備的使用壽命。然而,在實際應用中,LED 驅動電源易損壞的問題卻十分常見,不僅增加了維護成本,還影響了用戶體驗。要解決這一問題,需從設計、生...

關鍵字: 驅動電源 照明系統(tǒng) 散熱

根據(jù)LED驅動電源的公式,電感內電流波動大小和電感值成反比,輸出紋波和輸出電容值成反比。所以加大電感值和輸出電容值可以減小紋波。

關鍵字: LED 設計 驅動電源

電動汽車(EV)作為新能源汽車的重要代表,正逐漸成為全球汽車產(chǎn)業(yè)的重要發(fā)展方向。電動汽車的核心技術之一是電機驅動控制系統(tǒng),而絕緣柵雙極型晶體管(IGBT)作為電機驅動系統(tǒng)中的關鍵元件,其性能直接影響到電動汽車的動力性能和...

關鍵字: 電動汽車 新能源 驅動電源

在現(xiàn)代城市建設中,街道及停車場照明作為基礎設施的重要組成部分,其質量和效率直接關系到城市的公共安全、居民生活質量和能源利用效率。隨著科技的進步,高亮度白光發(fā)光二極管(LED)因其獨特的優(yōu)勢逐漸取代傳統(tǒng)光源,成為大功率區(qū)域...

關鍵字: 發(fā)光二極管 驅動電源 LED

LED通用照明設計工程師會遇到許多挑戰(zhàn),如功率密度、功率因數(shù)校正(PFC)、空間受限和可靠性等。

關鍵字: LED 驅動電源 功率因數(shù)校正

在LED照明技術日益普及的今天,LED驅動電源的電磁干擾(EMI)問題成為了一個不可忽視的挑戰(zhàn)。電磁干擾不僅會影響LED燈具的正常工作,還可能對周圍電子設備造成不利影響,甚至引發(fā)系統(tǒng)故障。因此,采取有效的硬件措施來解決L...

關鍵字: LED照明技術 電磁干擾 驅動電源

開關電源具有效率高的特性,而且開關電源的變壓器體積比串聯(lián)穩(wěn)壓型電源的要小得多,電源電路比較整潔,整機重量也有所下降,所以,現(xiàn)在的LED驅動電源

關鍵字: LED 驅動電源 開關電源

LED驅動電源是把電源供應轉換為特定的電壓電流以驅動LED發(fā)光的電壓轉換器,通常情況下:LED驅動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關鍵字: LED 隧道燈 驅動電源
關閉