Loading plugins/org.etsi.mts.tdl.model/model/tdl.ecore +1 −1 Original line number Diff line number Diff line Loading @@ -791,7 +791,7 @@ <eClassifiers xsi:type="ecore:EClass" name="LiteralValueUse" eSuperTypes="#//StaticDataUse"> <eOperations name="resolveBaseDataType" eType="#//DataType"> <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> <details key="body" value="
 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 (not self.intValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Integer')->asOrderedSet()->first()
 else
 if (not self.boolValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Boolean')->asOrderedSet()->first()
 else 
 SimpleDataType.allInstances()->select(t | t.name = 'String')->asOrderedSet()->first()
 endif
 endif
 endif
 endif
 endif
 "/> <details key="body" value="
 if (not self.dataType.oclIsUndefined()) then
 self.dataType
 else 
 if (not self.intValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Integer')->asOrderedSet()->first()
 else
 if (not self.boolValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Boolean')->asOrderedSet()->first()
 else 
	 if (not self.value.oclIsUndefined()) then
	 SimpleDataType.allInstances()->select(t | t.name = 'String')->asOrderedSet()->first()
	 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
 endif
 endif
 "/> </eAnnotations> </eOperations> <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> Loading Loading
plugins/org.etsi.mts.tdl.model/model/tdl.ecore +1 −1 Original line number Diff line number Diff line Loading @@ -791,7 +791,7 @@ <eClassifiers xsi:type="ecore:EClass" name="LiteralValueUse" eSuperTypes="#//StaticDataUse"> <eOperations name="resolveBaseDataType" eType="#//DataType"> <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> <details key="body" value="
 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 (not self.intValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Integer')->asOrderedSet()->first()
 else
 if (not self.boolValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Boolean')->asOrderedSet()->first()
 else 
 SimpleDataType.allInstances()->select(t | t.name = 'String')->asOrderedSet()->first()
 endif
 endif
 endif
 endif
 endif
 "/> <details key="body" value="
 if (not self.dataType.oclIsUndefined()) then
 self.dataType
 else 
 if (not self.intValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Integer')->asOrderedSet()->first()
 else
 if (not self.boolValue.oclIsUndefined()) then
 SimpleDataType.allInstances()->select(t | t.name = 'Boolean')->asOrderedSet()->first()
 else 
	 if (not self.value.oclIsUndefined()) then
	 SimpleDataType.allInstances()->select(t | t.name = 'String')->asOrderedSet()->first()
	 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
 endif
 endif
 "/> </eAnnotations> </eOperations> <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> Loading