Loading plugins/org.etsi.mts.tdl.model/model/tdl.ecore +2 −2 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ <eClassifiers xsi:type="ecore:EClass" name="DataInstanceUse" eSuperTypes="#//StaticDataUse"> <eOperations name="resolveDataType" eType="#//DataType"> <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> <details key="body" value="
				if (not self.dataInstance.oclIsUndefined()) then
					self.dataInstance.dataType
				else 
					if (not self.dataType.oclIsUndefined()) then
						self.dataType
					else 
						if (self.container().oclIsTypeOf(MemberAssignment)) then
							self.container().oclAsType(MemberAssignment).member.dataType
						else 
							if (self.container().oclIsTypeOf(ParameterBinding)) then
								self.container().oclAsType(ParameterBinding).parameter.dataType
							else
								null
							endif
						endif
					endif
				endif
				"/> <details key="body" value="
				if (not self.dataInstance.oclIsUndefined()) then
					self.dataInstance.dataType
				else 
					if (not self.dataType.oclIsUndefined()) then
						self.dataType
					else 
						if (self.container().oclIsTypeOf(MemberAssignment)) then
							self.container().oclAsType(MemberAssignment).member.dataType
						else 
							if (self.container().oclIsTypeOf(ParameterBinding)) then
								self.container().oclAsType(ParameterBinding).parameter.dataType
							else
								if (self.container().oclIsTypeOf(CollectionDataInstance)) then
									self.container().oclAsType(CollectionDataInstance).dataType.oclAsType(CollectionDataType).itemType
								else
									if (self.container().oclIsTypeOf(DataElementUse)) then
										self.container().oclAsType(DataElementUse).resolveDataType().oclAsType(CollectionDataType).itemType
									else
										if (self.container().oclIsTypeOf(DataInstanceUse)) then
											self.container().oclAsType(DataInstanceUse).resolveDataType().oclAsType(CollectionDataType).itemType
										else
											null
										endif
									endif
								endif
							endif
						endif
					endif
				endif
				"/> </eAnnotations> </eOperations> <eStructuralFeatures xsi:type="ecore:EReference" name="dataInstance" eType="#//DataInstance"/> Loading Loading @@ -762,7 +762,7 @@ <eClassifiers xsi:type="ecore:EClass" name="DataElementUse" eSuperTypes="#//DataUse"> <eOperations name="resolveDataType" eType="#//DataType"> <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> <details key="body" value="
				if (not self.dataElement.oclIsUndefined()) then
					if (self.dataElement.oclIsTypeOf(DataType)) then
						self.dataElement.oclAsType(DataType)
					else
						if (self.dataElement.oclIsTypeOf(DataInstance)) then
							self.dataElement.oclAsType(DataInstance).dataType
						else 
							if (self.dataElement.oclIsTypeOf(FormalParameter)) then
								self.dataElement.oclAsType(FormalParameter).dataType
							else 
								if (self.dataElement.oclIsTypeOf(Function)) then
									self.dataElement.oclAsType(Function).returnType
								else
									null
								endif
							endif 
						endif
					endif
				else 
					if (self.container().oclIsTypeOf(MemberAssignment)) then
						self.container().oclAsType(MemberAssignment).member.dataType
					else 
						if (self.container().oclIsTypeOf(ParameterBinding)) then
							self.container().oclAsType(ParameterBinding).parameter.dataType
						else
							null
						endif
					endif
				endif
				"/> <details key="body" value="
				if (not self.dataElement.oclIsUndefined()) then
					if (self.dataElement.oclIsKindOf(DataType)) then
						self.dataElement.oclAsType(DataType)
					else
						if (self.dataElement.oclIsKindOf(DataInstance)) then
							self.dataElement.oclAsType(DataInstance).dataType
						else 
							if (self.dataElement.oclIsTypeOf(FormalParameter)) then
								self.dataElement.oclAsType(FormalParameter).dataType
							else 
								if (self.dataElement.oclIsTypeOf(Function)) then
									self.dataElement.oclAsType(Function).returnType
								else
									null
								endif
							endif 
						endif
					endif
				else 
					if (self.container().oclIsTypeOf(MemberAssignment)) then
						self.container().oclAsType(MemberAssignment).member.dataType
					else 
						if (self.container().oclIsTypeOf(ParameterBinding)) then
							self.container().oclAsType(ParameterBinding).parameter.dataType
						else
							if (self.container().oclIsTypeOf(CollectionDataInstance)) then
								self.container().oclAsType(CollectionDataInstance).dataType.oclAsType(CollectionDataType).itemType
							else
								if (self.container().oclIsTypeOf(DataElementUse)) then
									self.container().oclAsType(DataElementUse).resolveDataType().oclAsType(CollectionDataType).itemType
								else
									if (self.container().oclIsTypeOf(DataInstanceUse)) then
										self.container().oclAsType(DataInstanceUse).resolveDataType().oclAsType(CollectionDataType).itemType
									else
										null
									endif
								endif
							endif
						endif
					endif
				endif
				"/> </eAnnotations> </eOperations> <eStructuralFeatures xsi:type="ecore:EAttribute" name="unassignedMember" eType="#//UnassignedMemberTreatment"/> Loading Loading
plugins/org.etsi.mts.tdl.model/model/tdl.ecore +2 −2 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ <eClassifiers xsi:type="ecore:EClass" name="DataInstanceUse" eSuperTypes="#//StaticDataUse"> <eOperations name="resolveDataType" eType="#//DataType"> <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> <details key="body" value="
				if (not self.dataInstance.oclIsUndefined()) then
					self.dataInstance.dataType
				else 
					if (not self.dataType.oclIsUndefined()) then
						self.dataType
					else 
						if (self.container().oclIsTypeOf(MemberAssignment)) then
							self.container().oclAsType(MemberAssignment).member.dataType
						else 
							if (self.container().oclIsTypeOf(ParameterBinding)) then
								self.container().oclAsType(ParameterBinding).parameter.dataType
							else
								null
							endif
						endif
					endif
				endif
				"/> <details key="body" value="
				if (not self.dataInstance.oclIsUndefined()) then
					self.dataInstance.dataType
				else 
					if (not self.dataType.oclIsUndefined()) then
						self.dataType
					else 
						if (self.container().oclIsTypeOf(MemberAssignment)) then
							self.container().oclAsType(MemberAssignment).member.dataType
						else 
							if (self.container().oclIsTypeOf(ParameterBinding)) then
								self.container().oclAsType(ParameterBinding).parameter.dataType
							else
								if (self.container().oclIsTypeOf(CollectionDataInstance)) then
									self.container().oclAsType(CollectionDataInstance).dataType.oclAsType(CollectionDataType).itemType
								else
									if (self.container().oclIsTypeOf(DataElementUse)) then
										self.container().oclAsType(DataElementUse).resolveDataType().oclAsType(CollectionDataType).itemType
									else
										if (self.container().oclIsTypeOf(DataInstanceUse)) then
											self.container().oclAsType(DataInstanceUse).resolveDataType().oclAsType(CollectionDataType).itemType
										else
											null
										endif
									endif
								endif
							endif
						endif
					endif
				endif
				"/> </eAnnotations> </eOperations> <eStructuralFeatures xsi:type="ecore:EReference" name="dataInstance" eType="#//DataInstance"/> Loading Loading @@ -762,7 +762,7 @@ <eClassifiers xsi:type="ecore:EClass" name="DataElementUse" eSuperTypes="#//DataUse"> <eOperations name="resolveDataType" eType="#//DataType"> <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> <details key="body" value="
				if (not self.dataElement.oclIsUndefined()) then
					if (self.dataElement.oclIsTypeOf(DataType)) then
						self.dataElement.oclAsType(DataType)
					else
						if (self.dataElement.oclIsTypeOf(DataInstance)) then
							self.dataElement.oclAsType(DataInstance).dataType
						else 
							if (self.dataElement.oclIsTypeOf(FormalParameter)) then
								self.dataElement.oclAsType(FormalParameter).dataType
							else 
								if (self.dataElement.oclIsTypeOf(Function)) then
									self.dataElement.oclAsType(Function).returnType
								else
									null
								endif
							endif 
						endif
					endif
				else 
					if (self.container().oclIsTypeOf(MemberAssignment)) then
						self.container().oclAsType(MemberAssignment).member.dataType
					else 
						if (self.container().oclIsTypeOf(ParameterBinding)) then
							self.container().oclAsType(ParameterBinding).parameter.dataType
						else
							null
						endif
					endif
				endif
				"/> <details key="body" value="
				if (not self.dataElement.oclIsUndefined()) then
					if (self.dataElement.oclIsKindOf(DataType)) then
						self.dataElement.oclAsType(DataType)
					else
						if (self.dataElement.oclIsKindOf(DataInstance)) then
							self.dataElement.oclAsType(DataInstance).dataType
						else 
							if (self.dataElement.oclIsTypeOf(FormalParameter)) then
								self.dataElement.oclAsType(FormalParameter).dataType
							else 
								if (self.dataElement.oclIsTypeOf(Function)) then
									self.dataElement.oclAsType(Function).returnType
								else
									null
								endif
							endif 
						endif
					endif
				else 
					if (self.container().oclIsTypeOf(MemberAssignment)) then
						self.container().oclAsType(MemberAssignment).member.dataType
					else 
						if (self.container().oclIsTypeOf(ParameterBinding)) then
							self.container().oclAsType(ParameterBinding).parameter.dataType
						else
							if (self.container().oclIsTypeOf(CollectionDataInstance)) then
								self.container().oclAsType(CollectionDataInstance).dataType.oclAsType(CollectionDataType).itemType
							else
								if (self.container().oclIsTypeOf(DataElementUse)) then
									self.container().oclAsType(DataElementUse).resolveDataType().oclAsType(CollectionDataType).itemType
								else
									if (self.container().oclIsTypeOf(DataInstanceUse)) then
										self.container().oclAsType(DataInstanceUse).resolveDataType().oclAsType(CollectionDataType).itemType
									else
										null
									endif
								endif
							endif
						endif
					endif
				endif
				"/> </eAnnotations> </eOperations> <eStructuralFeatures xsi:type="ecore:EAttribute" name="unassignedMember" eType="#//UnassignedMemberTreatment"/> Loading