eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

Fixing code to add using EClass.getEStructuralFeatures() instead of EClass.getEReferences() #28

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 126144 | | Status | CLOSED FIXED | | Importance | P3 critical | | Reported | Feb 02, 2006 01:07 EDT | | Modified | May 27, 2011 02:41 EDT | | Version | 1.0.0 | | Reporter | Shrawanika |

Description

Getting these errors:

Expression : self.attribute->product(self.attribute) \ Error : org.eclipse.emf.ocl.helper.OclParsingException[1]:\ Collection type conformance failure: (null).(product)\ Please fix your code to add using EClass.getEStructuralFeatures()\ instead of EClass.getEReferences()

Expression : Set{self.attribute.name}->product(Set{self.attribute.name})\ Error : org.eclipse.emf.ocl.helper.OclParsingException[1]:\ Collection type conformance failure: (Set(null)).(product)\ Please fix your code to add using EClass.getEStructuralFeatures()\ instead of EClass.getEAttributes()

Expression : Set{self.attribute}->product(Set{self.attribute}) \ Error : org.eclipse.emf.ocl.helper.OclParsingException[1]:\ Collection type conformance failure: (Set(null)).(product)\ Please fix your code to add using EClass.getEStructuralFeatures()\ instead of EClass.getEAttributes()

eclipse-ocl-bot commented 1 month ago

By Christian Damus on Feb 13, 2006 18:18

Updated the on-the-fly generation of tuple types to add EAttributes and EReferences to the EClass.eStructuralFeatures list.

eclipse-ocl-bot commented 1 month ago

By Nick Boldt on Jan 28, 2008 16:35

Move to verified as per bug 206558.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2011 02:39

Closing after over a year in verified state.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2011 02:41

Closing after over a year in verified state.