为了可用性需要由最终用户选择向他们显示的表示元素、属性和枚举值的单词,并且甚至可能需要为说英语的人员翻译这些单词。
The words displayed to end users for elements, attributes, and enumerated values need to be chosen for usability by end users and will probably need to be translated even for English speakers.
构造型的属性,不管是逻辑值、整数值还是枚举类型的,都在概述中被分配有默认值。
The stereotype properties, which are of Boolean, integer, or enumeration types, have been assigned default values in the profile.
用owl可以指定这些属性的类型,比如主机名是字符串类型,而操作系统则有可能是一个特定选项已经指定的枚举类型。
OWL lets you specify the type of these properties, so hostname would be string, whilst operating system might be an enumeration with specific options specified.
虽然枚举可能很有用,但是用结构化属性的方式表示连接点通常更方便。
While enumeration can be useful, it is often more convenient to express join points by means of structural properties.
有些属性拥有一个有效值的枚举列表,也称为代码列表。
Some properties have an enumerated list of valid values, also known as a code list.
本文仅关注类图以及相关联的模型元素(类、包、关联、属性和枚举)。
This article will only focus on the class diagram and associated model elements (class, package, associations, attributes, and enumeration).
资源适配器可能用这个方法检查算术属性是否在可以接受的范围之内,或者确保表示枚举值的字符串有效。
The resource adapter might use this method to check that numeric properties are within the acceptable range or to ensure that a string property representing a value from an enumeration is valid.
枚举与数字范围:例如,某个特定字符串属性必须为A、c或者d。再比如,某个特定的数字必须在1至500之间。
Enumerations and numeric ranges: For example, the value of a particular string attribute must be a, c, or D. Another example: the value of a particular numeric must be between 1 and 500.
“图书”这个类拥有一项枚举类型的属性。
The Book class has an attribute whose type is that of an enumeration.
枚举值应只使用名称(不使用数字)并且用于枚举值的名称必须符合元素或者属性名称的指导原则。
Enumeration values should use names only (not Numbers) and the names used for enumeration values must conform to the guidelines for element or attribute names.
例如,定义在另一个概要文件中的元素(类、枚举和原型)现在可以被用于原型类型的属性中。
For example, elements (classes, enumerations, and stereotypes) defined in the other profile can now be used to type stereotype attributes.
所有架构、元素、属性、类型和枚举都必须具有定义,并且它们必须以一组经核准的开始短语(比如Anameof或 Arelationship)中的一个打头。
All schemas, elements, attributes, types, and enumerations must have definitions, and they must start with one of an approved set of beginning phrases, such as A name of or A relationship.
现在再创建一个属性authority,并将其类型设置为RegistrationAuthority枚举。
Now create one more attribute, authority, and set its type to the RegistrationAuthority enumeration.
此类必须具有一个称为Value的公共属性,与第2步中为此枚举创建的Const变量具有相同的数据类型。
This class must have a single public property called Value of the same data type as the Const variables you created for this enumeration in step 2.
PostalAddress元素的type属性实际上是枚举类型,它允许选择4 个字符串之一。
The type attribute of the PostalAddress element is actually an enumerated type, allowing a choice of one of four strings.
管理员可以指定DataSensitivity属性只应用于术语,并选择数字1到5的枚举类型作为有效值。
The administrator can specify that Data Sensitivity attribute applies only to terms, and chooses the enumerated valid value type entering the Numbers 1 through 5 as valid values.
XMLFormsGenerator通过在具有枚举类型的元素或属性上使用定制的ECore注释,检测对于open选择的需要。
The XML Forms Generator detects the need for an open selection through the use of a custom ECore annotation on an element or attribute that has an enumerated type.
category属性是枚举类型。
The category attribute is an enumerated type. It's one of the following.
枚举类型可以被用来指定原型属性集的类型当且仅当它们被定义在相同的概要文件中,或者在导入的概要文件中。
Enumerations can be used to specify the type of stereotype attributes only if they are defined in the same profile as the stereotype itself, or in an imported profile.
如果你需要关于枚举、属性、隐藏种类及其他一些特点的快速指南,可以阅读这一章。
If you need a quick tutorial on enums, generics, anonymous classes, and other useful features, you'll want to read this chapter.
必须在元素中而不是在属性中设置枚举值。
枚举类型的属性集的值,可以被枚举列出。
The values for attributes whose type is an enumeration would be enumeration literals owned by that enumeration.
基于预期的元素和属性以及枚举的简单类型值的智能提示(intellisense)。
Intellisense based on expected elements and attributes and enumerated simple type values.
报告规范是一个属性,是propenum枚举集的成员。
A report specification is a property and is a member of the enumeration set propEnum.
此属性表明枚举可以作为位域处理,即一组标志。
This attribute indicates that the enum can be treated as a bit field; that is, a set of flags.
至于颜色类不提供任何可枚举集合或数组的颜色,反而暴露了属性的颜色。
As colors class does not provide any enumerable collection or array for colors, instead it exposes colors as properties.
NET可以基于属性的类型解析枚举。
NET can resolve the enumeration based on the property's type.
对字符串的属性,增加了一个可选的枚举类型定义,枚举的属性值将被验证。
For properties of type string, an optional Enum definition has been added. Property values will be validated against the Enum.
这个属性可以在被设置为任意值RecurringFrequencies枚举。
This property can be set to any value in the RecurringFrequencies enumeration.
可以为要使用但尚未定义的任何未定义类、构造函数、方法、属性、字段或枚举生成存根。
You can generate a stub for any undefined class, constructor, method, property, field, or enum that you want to use but have not yet defined.
应用推荐