When you have attributes in a class, you need to be able to initialize these attributes with some initial values.
当您在一个类中拥有一定的属性时,您应该能够利用一些初始值来初始化这些属性。
You can then customize how each class can be administered by adding class attributes to this subclass.
然后可以通过为这个子类添加类属性来定制如何对每个类进行管理。
With this approach each data entity includes both the attributes and the inherited attributes of the class that it represents.
使用这种方法,每个数据实体就既包含属性又包含它所表示的类继承的属性。
During class creation, attributes and methods of classes are set once and for all.
创建类的过程中,类的所有属性和方法只设置一次。
Listing 2 shows how to set the redaction attributes for this class object.
清单2显示了如何设置这个类对象的编校属性。
The classes except for the discovered abstraction class do not have attributes and operations.
除去被发现的抽象类之外,其他类没有属性及操作。
If you paste the harvested class into the same class diagram or into another class diagram that is outside of a blank model, the class attributes and functions are invisible.
如果您将总结的类粘贴到同一个类图,或本空白模型以外另一个类图中时,那么该类的属性和功能将丢失。
This is again similar to class modeling where you identify classes and assign attributes and operations to each class.
这同样类似于类建模,在类建模中,首先确定类,然后为每个类指定属性和操作。
For a single class, you can define the name of the class, its attributes, and its operations.
对于一个单独的类,你可以定义类的名字,属性和操作。
We also provided accessor methods for attributes of this class, but we've omitted these methods from this article for brevity.
我们还提供了这个类的一些属性的存取方法,但是为了简便起见,在本文中我们省略了这些方法。
In analysis, you will discover some of the attributes (i.e., class data variables) that your classes will need in order to meet their responsibilities.
在分析中,我们会发现,类为了完成自己的职责,会需要一些属性(也就是类的属性变量)。
If you define uniqueness on multiple attributes within a class, create one index that includes all the attributes.
如果在一个类中的多个属性上定义惟一性,那么应该创建一个包含所有这些属性的索引。
It does not update the class 'attributes, operations, or associations.
它不更新类的属性、方法,或关联。
The Persona class also has attributes that capture information collected through the interviews.
角色类也拥有通过面谈收集来的信息的属性。
A device contains a set of base device attributes, an optional set of device class specific attributes or properties and an optional set of notification attributes that can vary by notification type.
设备包含一组基本设备属性、一组可选的设备类的特定属性以及一组可选的通知属性(用于通知设备),这些属性随着设备类和通知类型的变化而变化。
When you select an object class, you need to supply all the mandatory attributes included in the particular object class.
在选择对象类时,需要提供具体对象类中包含的所有必需属性。
This class handles the attributes for the module and introduces the various class and instance methods.
该类处理模块属性并引入不同的类和实例方法。
With this approach you create one table per class, the attributes of which are the OID and the attributes that are specific to that class.
使用这种方法,为每个类创建一张表,它的属性是OID和特定于该类的属性。
For styling you would be concerned with the values for the class attributes of the template.
就样式化而言,应该格外关注模板的类属性值。
The derived classes have the same dynamic class attributes of the base class.
派生类具有跟基类相同的动态类属性。
The rectangle is the symbol for a class and is divided into three parts: class name, attributes, and methods.
矩形是表示类的符号,被分成三个部分:类名、属性以及方法。
Job targeting attributes like device class name, devices for job, query, job target scope and so on.
作业对象属性,如设备类名、作业设备、查询和作业对象的范围等。
Attributes displays fields for a class.
attribute为类显示字段。
The container provides the following values for the class attributes.
容器为类属性提供了以下的值。
The class is empty by default, as Rails infers the attributes of the class based on table metadata from the database.
默认情况下,该类为空,因为Rails将根据来自数据库的表元数据推断该类的属性。
Create a Differences Logger class as Listing 2 shows and add a few attributes to the class.
创建一个如列表2所示的Differences logger类,并添加一些属性到这个类。
The tag's attributes specifies the class being mapped, and its mapping table in the database.
标签的属性指定了要映射的类,以及它的映射表。
A processor-ready version of it that includes the class attributes that drive the translation and publishing transforms.
包括从转化和发布转换派生而来的class属性的共处理程序使用的版本。
We converted all style attributes to class attributes and defined CSS classes to perform the same function as the inline defined style attributes.
我们把所有的style属性转换为class属性,并定义了css类,当inline定义了style属性时,使用这个css类来执行相同的函数。
Blue even allows you to extend classes dynamically and contract them (that is, remove class attributes from an extended class).
Blue甚至允许您动态地扩展类并收缩类(即移除已扩展的类的属性)。
应用推荐