Issue 3309: Factories for non-abstract subtypes of Qualification (pdm-rtf) Source: PROSTEP AG (Dr. Lutz Laemmer, lutz.laemmer@prostep.com Lutz.Laemmer@PROSTEP.com laemmer@prostep.de laemmer@prostep.com) Nature: Uncategorized Issue Severity: Summary: Description: All Factories for non-abstract subtypes of Qualification (LifeCycleQualificationFactory, LocationQualificationFactory, DisciplineQualificationFactory, DatedEffectivityFactory,LotEffectivityFactory, SerialNumberedEffectivityFactory) Qualification is Manageable. The population of the attributes of these supertype should be allowed during creation via a generic PropertySet attribute to the create method of the factories. Resolution: accepted and resolved Revised Text: In section 2.9.3.5 DatedEffectivity, and section 2.9.4 PdmEffectivity IDL, change interface DatedEffectivityFactory. replace: interface DatedEffectivityFactory { DatedEffectivity create( in TimeBase::UtcT start_date, in TimeBase::UtcT end_date) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface DatedEffectivityFactory { DatedEffectivity create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.9.3.6 LotEffectivity, and section 2.9.4 PdmEffectivity IDL, change interface LotEffectivityFactory. replace: interface LotEffectivityFactory { LotEffectivity create( in string lot_id, in PdmFoundation::Measurement lot_size) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface LotEffectivityFactory { LotEffectivity create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.9.3.7 SerialNumberEffectivity, and section 2.9.4 PdmEffectivity IDL, change interface SerialNumberedEffectivityFactory. replace: interface SerialNumberedEffectivityFactory { SerialNumberedEffectivity create( in string start_id, in string end_id) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface SerialNumberedEffectivityFactory { SerialNumberedEffectivity create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.6.3.5 ViewQualification, and section 2.6.4 PdmViews IDL, change interface ViewQualificationFactory. replace: interface ViewQualificationFactory { ViewQualification create( in string name) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface ViewQualificationFactory { ViewQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.6.3.7 LifeCycleQualification, and section 2.6.4 PdmViews IDL, change interface LifeCycleQualificationFactory. replace: interface LifeCycleQualificationFactory { LifeCycleQualification create( in string name ) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface LifeCycleQualificationFactory { LifeCycleQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.6.3.9 LocationQualification, and section 2.6.4 PdmViews IDL, change interface LocationQualificationFactory. replace: interface LocationQualificationFactory { LocationQualification create( in string name ) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface LocationQualificationFactory { LocationQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.6.3.11 DisciplineQualification, and section 2.6.4 PdmViews IDL, change interface DisciplineQualificationFactory. replace: interface DisciplineQualificationFactory { DisciplineQualification create(in string name) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface DisciplineQualificationFactory { DisciplineQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; In section 2.6.3.13 CompoundQualification, and section 2.6.4 PdmViews IDL, change interface CompoundQualificationFactory. replace: interface CompoundQualificationFactory { CompoundQualification create() raises (ITEM_CREATE_EXCEPTIONS); }; by: interface CompoundQualificationFactory { CompoundQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; Actions taken: February 10, 2000: received issue October 10, 2000: closed issue Discussion: The factories of LifeCycleQualification, LocationQualification, DisciplineQualification, DatedEffectivity, LotEffectivity, SerialNumberEffectivity should be able to populate all attributes of the interface itself and of all inherited interfaces. This statement is valid for two more interfaces derived from Qualification: ViewQualification and CompoundQualification. Therefore, the corresponding factories should use a generic PropertySet attribute: End of Annotations:===== Date: Thu, 10 Feb 2000 08:56:38 +0100 From: "Dr. Lutz Ldmmer" Organization: ProSTEP GmbH X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de MIME-Version: 1.0 To: issues@omg.org Subject: Issue PDM RTF Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: \)id9YkPe9;k6!!Op1!! Title: Factories for non-abstract subtypes of Qualification Source: Lutz Laemmer, ProSTEP, laemmer@prostep.de Description: All Factories for non-abstract subtypes of Qualification (LifeCycleQualificationFactory, LocationQualificationFactory, DisciplineQualificationFactory, DatedEffectivityFactory,LotEffectivityFactory, SerialNumberedEffectivityFactory) Qualification is Manageable. The population of the attributes of these supertype should be allowed during creation via a generic PropertySet attribute to the create method of the factories. Date: Mon, 20 Mar 2000 11:59:56 +0100 From: "Dr. Lutz Ldmmer" Organization: ProSTEP GmbH X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de MIME-Version: 1.0 To: pdm-rtf@omg.org, laemmer@prostep.de Subject: Resolution to Issue 3309 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-UIDL: g`M!!:E&!!h&+e9"fM!! Proposal for Revision: The factories of LifeCycleQualification, LocationQualification, DisciplineQualification, DatedEffectivity, LotEffectivity, SerialNumberEffectivity should allow to populate all attributes of the interface itself and of all inherited interfaces. This statement is valid for two more interfaces derived from Qualification: ViewQualification and CompoundQualification. Therefore, the corresponding factories should be allowed via a generic PropertySet attribute: Revised Text: change both in the textual explanation and in the IDL of the corresponding module: replace: interface DatedEffectivityFactory { DatedEffectivity create( in TimeBase::UtcT start_date, in TimeBase::UtcT end_date) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface DatedEffectivityFactory { DatedEffectivity create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface LotEffectivityFactory { LotEffectivity create( in string lot_id, in PdmFoundation::Measurement lot_size) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface LotEffectivityFactory { LotEffectivity create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface SerialNumberedEffectivityFactory { SerialNumberedEffectivity create( in string start_id, in string end_id) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface SerialNumberedEffectivityFactory { SerialNumberedEffectivity create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface ViewQualificationFactory { ViewQualification create( in string name) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface ViewQualificationFactory { ViewQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface LifeCycleQualificationFactory { LifeCycleQualification create( in string name ) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface LifeCycleQualificationFactory { LifeCycleQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface LocationQualificationFactory { LocationQualification create( in string name ) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface LocationQualificationFactory { LocationQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface DisciplineQualificationFactory { DisciplineQualification create(in string name) raises (ITEM_CREATE_EXCEPTIONS); }; by: interface DisciplineQualificationFactory { DisciplineQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; --- replace: interface CompoundQualificationFactory { CompoundQualification create() raises (ITEM_CREATE_EXCEPTIONS); }; by: interface CompoundQualificationFactory { CompoundQualification create( in CosPropertyService::PropertySet property_set) raises (ITEM_CREATE_EXCEPTIONS); }; Regards, -- ___________________________________________________________ ProSTEP Produktdatentechologie GmbH Geschdftstelle Hannover Dr. Lutz Laemmer Phone: +49-511- 540 58 101 Karl-Wiechert-Allee 72 Fax: +49-511- 540 58 150 D-30625 Hannover Email: laemmer@prostep.de ___________________________________________________________