A stereotype can specialize or generalize only another stereotype: a class cannot participate in the generalization relationship with the stereotype.
一个原型只能指定或泛化成另一个原型:一个类不能与原型参与泛化关系。
Each class in the relationship model can be mapped to an entity EJB component.
关系模型中的每个类均可以映射一个实体e JB组件。
Figure 7 illustrates this, showing the relationship between the test suites and the changes that they cover, based on unique coverage of the methods within each changed class.
图7例举了这一点,基于每个变更类型中方法的唯一覆盖率,显示出测试套件和它们所覆盖的变更之间的关系。
We need to add one thing to this file to extend the policy definition for class instance-level authorization: an optional relationship parameter associated with a permission statement.
我们需要向这个文件添加一个东西为类实例级授权扩展策略定义:一个与许可权语句相关的可选关系参数。
Perhaps what we need is a new inheritance phrase, IN-TERMS-OF, to describe the relationship between a trait and an implementing class.
或许我们需要的是一种全新的继承术语,用于描述特征和实现类之间的关系。
The hierarchical class diagram demonstrates a way to discover an entire class inheritance relationship within a project or a work set.
层级类图代表着一种方式,该方式能发现在一个项目或工作集中,发现整个类间的层次关系。
To model inheritance, use the generalization relationship provided by the UML modeling palette, which is drawn from the inherited class to the base class.
要建模继承,可以利用由uml建模面板提供的一般化关系,它是从继承类到基础类而绘制出来的。
Anyway, once this relationship has been identified, it can be made explicit in a class diagram that shows the associations among the two classes of goals.
总之,一旦确定了此关系,就可以在类图中明确地表达出来,说明两个目标的类之间的联系。
The following class diagram shows the relationship between the SAML assertion, security data parser, and control object.
下面的类图说明SAML断言、安全数据解析器和控制对象之间的关系。
You use a class attribute, described in greater detail in the text that follows, to describe this relationship.
您使用一个类属性(在下文中更详细地描述)来描述这种关系。
The class diagram in Figure 4 shows the relationship among the different objects used to encapsulate the back-end call.
图4中的类图展示了用于封装后端调用的不同对象之间的关系。
There’s always a cat-and-mouse relationship between a naughty student and a strict teacher. The student always wants to skip class, while the teacher is hot on attendance.
淘气学生与严厉老师之间总是存在一种猫鼠关系,学生总想翘课,老师总是热衷于点名。
Joined table: (Optional) the child class is mapped to a table that has a foreign key relationship to the table to which the parent is mapped.
联合表:(可选)将子类映射到与父类映射到的表具有外键关系的表。
If a relationship is defined, then the class instance (Resource) being protected must be passed into the ResourcePermission constructor.
如果定义了一个关系,那么必须把受保护的类实例(Resource)传递到ResourcePermission构造函数中。
Normally, to associate that class to another class, you would use a has_one relationship and a simple foreign key.
通常,为了将该类关联到另一个类,可以使用 has_one关系和一个简单的外键。
Any time you think that you have a simple m: m relationship between two classes, a third class is probably waiting to be discovered.
任何时候您认为两个类之间存在着简单的m: m关系时,可能还需要从中发现第三个类。
In the second article, I added an Airline class, shown in Listing 2, to the mix to demonstrate a simple 1: m relationship.
在第二篇文章中,我添加了一个airline类(如清单2所示),以演示一个简单的1:m关系。
Use this tool to draw a line from the Employee class to the Person class to signify this relationship.
用该工具从Employee类向Person 类画一条直线就可以表示这种关系。
Figure 1 shows a simple Unified Modeling Language (UML) class diagram that shows the has a and is a relationship between the user and his roles.
图1显示了一个简单的统一建模语言(Unified Modeling Language,UML)类关系图,其中显示了用户与其角色之间的hasa和is a关系。
Figure 12 is a UML class diagram of the AcronymListEditor class depicting its relationship to the Eclipse parent classes as well as a validator class that can validate input.
图12是AcronymListEditor类的一个UM l类图,描绘了该类与Eclipse父类以及一个可以验证输入的检验器类之间的关系。
In the relationship modeled in Figure 13, a Company class instance will always have at least one Department class instance.
在图13中的关系建模中,一个Company类实例至少总有一个Department类实例。
Attribute classes can be modeled in a manner similar to any other class, and they have a generalization relationship with a System.Attribute.
属性类建模的方式类似于任何其他的类,并且它们和System . Attribute有泛化关系。
To accomplish this, create a class named ListBase and add a binding relationship from ListBase to List, and then bind the parameter t to X, as shown in Figure 5.
为了完成该项,创建一个名为ListBase的类型并添加一个从ListBase到List的binding关系,并将参数t与x相绑定,如图表5所示。
Putting static belongsTo = Publisher in the Book class adds another dimension to the relationship — cascading updates and deletes.
在Book类中放入static belongsTo =Publisher,可以向关系添加另一个方面 ——级联更新和删除。
The one difference between Listing 1 and Listing 2 is how you specify the Player class's relationship to the Team class.
清单1和 清单2的一个不同之处是如何指定Player类与Team 类的关系。
For example, consider a one-to-many relationship between the class library and the class Book used to represent the inventory held by a library.
例如,考虑用来表示图书馆库存的类Library和类book之间的一对多关系。
You can make a relationship bi-directional by using a special attribute. Below is an example of a CustomerOrder class with two different relationships.
可以使用特殊属性将关系转换为双向的。
If the target classifier is of type class (or a subtype of class), the realization relationship hierarchy will also be traversed.
如果目标标识符是class (class子类的一种)类型的,实现的关系阶层也会得到倒转。
If you would like to change the relationship name or the navigability of one of the relationship roles you can select one of the EJB class shapes and select Open from the context menu.
如果您想改变角色的名称或者一个关联角色的导向,那么您应当选择一个ejb类的形式并且从context菜单中选择open。
If another relationship is specified, then the ResourcePermission class calls the fulfills (subject subject, String relationship) method of the Auction class.
如果指定了另一个关系,那么resourcepermission类调用auction类的fulfills (subject subject,Stringrelationship)方法。
应用推荐