| |
A-20 LebenszykluscService, v1.2 September 2002 A Modul CosLifeCycleContainment { Schnittstellen-Verhältnis: CosCompoundLifeCycle::Relationship, CosContainment::Relationship { }; Schnittstelle ContainsRole: CosCompoundLifeCycle::Role, CosContainment::ContainsRole { }; Schnittstelle ContainedInRole: CosCompoundLifeCycle::Role, CosContainment::ContainedInRole { }; }; Das CosLifeCycleContainment Modul definiert nicht neue Betriebe. Es bloß "mischt" in den Schnittstellen vom CosCompoundLifeCycle und CosContainment Module. Obgleich es keine neuen Betriebe addiert, verfeinert es die Semantik von diesen Attribute und Betriebe: CosRelationships::RelationshipFactory::create-Betrieb hebt an: ? DegreeError wenn die Zahl den Rollen, die als Argumente geführt werden, nicht 2 ist. ? RoleTypeError wenn die Rollen nicht sind CosLifeCycleContainment::ContainsRole und CosLifeCycleContainment::ContainedInRole . ? MaxCardinalityExceeded wenn CosLifeCycleContainment:: ContainedInRole nimmt bereits an einem Verhältnis teil. ? CosRelationships::RoleFactory::create_role Betrieb hebt an RelatedObjectTypeError wenn der in Verbindung stehende Gegenstand, der als Parameter nicht geführt wird stützen Sie das CosCompoundLifeCycle::Node Schnittstelle. RelationshipFactory Attribut Wert relationship_type CosLifeCycleContainment::Relationship Grad 2 named_role_types "ContainsRole", CosLifeCycleContainment::ContainsRole; "ContainedInRole", CosLifeCycleContainment::ContainedInRole Attribut RoleFactory für ContainsRole Wert role_type CosLifeCycleContainment::ContainsRole maximum_cardinality unbegrenzt minimum_cardinality 0 related_object_types CosCompoundLifeCycle::Node |  |
|
| |
|
|