file [Solved] Export XMI issue

5 years 6 months ago - 5 years 6 months ago #2753 by jcantoniochamp
Hello EBR,

I tried to generate for the whole model.
I tried both EMF and OMG versions.
I send the download link in PM.


Kind regards,

JClaud

Please Log in or Create an account to join the conversation.

5 years 6 months ago #2757 by ebr
The issue comes from some "shell" stereotypes which means that you applied stereotype from module that you removed.

I corrected the issue and it will be available on the next version...
Until then a workaround is to redeploy the removed modules.

Regards,

EBR

Please Log in or Create an account to join the conversation.

5 years 6 months ago #2758 by jcantoniochamp
Dear EBR,

Thank you for your usual help.

Kind regards,

JClaude

Please Log in or Create an account to join the conversation.

5 years 6 months ago #2781 by jcantoniochamp
Dear EBR,

Is it possible to find all the "shell" stereotypes,
via for example searching in the files of the model?

(It is a bit difficult to reinstall the Module as I updated the module with a newer version with different stereotypes.)

Kind Regards,

JClaude

Please Log in or Create an account to join the conversation.

5 years 6 months ago #2793 by ebr
Hi JClaude,

I guess the best would be to define a python script for searching all shell stereotypes i.e. all steretype without owner.

Hoping it helps,

EBR

Please Log in or Create an account to join the conversation.

5 years 4 months ago - 5 years 4 months ago #2894 by jcantoniochamp
Hello,

I tried this (1) and it did not return anything.
While (2) returns values where the elements has stereotypes

(1)
def getFullName(element):
    	name = element.getName() 
    	if(name ==""):
    		name = "??? " + element.getUuid().toString()
    	name = element.getMClass().getName() + " " + name
    	return name
elements = modelingSession.findByClass(Stereotype)
for e in elements:
	owner = e.getOwner()
	if (owner is None):
		print "Stereotype name: "+getFullName(e)			
(2)
def getFullName(element):
    	name = element.getName() 
    	if(name ==""):
    		name = "??? " + element.getUuid().toString()
    	name = element.getMClass().getName() + " " + name
    	return name
elements = modelingSession.findByClass(ModelElement)
for e in elements:
	if(e.getMClass().getName()  != "RequirementContainer" and e.getMClass().getName()  != "BusinessRule" and e.getMClass().getName()  != "Requirement"):
		if(e.getExtension().size() > 0):
			stereotypes = e.getExtension()
			for s in stereotypes:
				print "Stereotype name: "+getFullName(e)

Stereotype name: AcceptCallEventAction RES +Flight number
Stereotype name: Artifact Process
Stereotype name: OpaqueAction Booking
Stereotype name: Class Quantity
Stereotype name: Class Booking
Stereotype name: Dependency ??? 197fbe5f-5e0e-47ab-b9e1-a4c30ddbfd8d
Stereotype name: Class Participant
Stereotype name: Class ULD Booking
Stereotype name: StaticDiagram Impact diagram for "AWB"
Stereotype name: Class DaysOfWeek
Stereotype name: PropertyTableDefinition Goal Properties
Stereotype name: PropertyTableDefinition BusinessRule Properties
Stereotype name: Project UML Types
Stereotype name: Class Agent
Stereotype name: Dependency ??? 8bae7d97-2a1f-4c34-b0e7-582b14b6b557
Stereotype name: Dependency ??? dd42fb98-9e4a-4c9d-8ed2-d65f507f50e7
Stereotype name: Class Master Flight
Stereotype name: PropertyTableDefinition Performance
Stereotype name: PropertyTableDefinition Reliability
Stereotype name: PropertyTableDefinition Design
Stereotype name: PropertyTableDefinition Supportability
Stereotype name: PropertyTableDefinition Usability
Stereotype name: PropertyTableDefinition Functionality
Stereotype name: PropertyTableDefinition Implementation
Stereotype name: Dependency ??? 82ae8494-b2d0-4956-bb5d-63a157a817dc
Stereotype name: Class Airport
Stereotype name: Class Airport
Stereotype name: Dependency ??? 52ad042c-d0a4-450f-8b8d-4cbe01d769d6
Stereotype name: Class Transaction
Stereotype name: Class ManifestItem
Stereotype name: Class ReferenceParticipant
Stereotype name: Artifact PredefinedTypes
Stereotype name: StaticDiagram Impact diagram for "City"
Stereotype name: Class AWB
Stereotype name: Dependency ??? 7f24c897-63a5-44d1-8ea0-f0718984d6ed
Stereotype name: StaticDiagram XFWB Business Rule diagram
Stereotype name: Dependency ??? 7681d048-93ca-4d71-99e5-00f2954ebf86
Stereotype name: PropertyContainer Analyst Properties
Stereotype name: Dependency ??? d4fbc316-5e60-4046-8907-0eedc2da9ffc
Stereotype name: Class ULD
Stereotype name: Class Geographic Location
Stereotype name: Dependency ??? de92a837-8536-4677-9808-b59e2bc7b4ac
Stereotype name: Class BelongLogic
Stereotype name: Class Restriction
Stereotype name: Dependency ??? 928677bc-aadc-47ca-b35d-d646ba9beaa5
Stereotype name: AssociationEnd Consignment
Stereotype name: AcceptCallEventAction RES
Stereotype name: Artifact Analysis
Stereotype name: Dependency ??? 21464685-bb0b-4ba0-9fba-e07a342a1be3
Stereotype name: Class City
Stereotype name: Class City
Stereotype name: Dependency ??? f59bf0c3-682c-40a4-8fe6-7c347f3eddf2
Stereotype name: Artifact ProcessAnalysis
Stereotype name: Class Leg
Stereotype name: Class Date Range
Stereotype name: AnalystProject Analyst Properties
Stereotype name: Class Manifest
Stereotype name: Dependency ??? b6c234a6-38ee-4c41-a213-4273c847cce9
Stereotype name: Dependency ??? b5ed7f4d-e6ee-47cd-80be-813d0a925361
Stereotype name: Package Documents
Stereotype name: Dependency ??? 7594a3fd-355c-4ecb-85e6-a078e724df1a
Stereotype name: Dependency ??? 2e76a780-ff42-4721-9264-b1d32789602c
Stereotype name: Dependency ??? 6890ae14-d134-4515-8ae9-fa5b34e4305b
Stereotype name: StaticDiagram QA Customs Business Rule diagram
Stereotype name: Class AWB Status History
Stereotype name: Class Geographic Location Area
Stereotype name: Dependency ??? b21b6344-e343-4af9-ad00-4c2a01368320
Stereotype name: Class Address
Stereotype name: Class MoneyAmount
Stereotype name: Class Authorization
Stereotype name: Dependency ??? 1bbf9c21-fdbd-48df-8c1c-b11e90acfd7c
Stereotype name: Class Aircraft Type
Stereotype name: OpaqueAction Echo
Stereotype name: Artifact Root
Stereotype name: Dependency ??? 56dbe483-e4b1-47bd-8d31-894cfb3d4873
Stereotype name: Class Geographic Location Point
Stereotype name: Dependency ??? 379a9d4a-c58d-4747-9f04-cc95e9ea1589
Stereotype name: Class Segment Booking
Stereotype name: Class Dimension
Stereotype name: Class Weight
Stereotype name: Class Numeric
Stereotype name: Class Geographic Location Group
Stereotype name: Class Geographic Location Group
Stereotype name: Class Geographic Location Group
Stereotype name: OpaqueAction ScreenTemplate
Stereotype name: AssociationEnd ??? 48acd654-2003-4b9f-acfb-f46984925b79
Stereotype name: Class Menu
Stereotype name: Class TimeZone
Stereotype name: Dependency ??? 96c73fdc-0081-42db-8767-3c14644e78d3
Stereotype name: StaticDiagram XFWB Message Requirement diagram
Stereotype name: Dependency ??? 91b7b425-81d6-42e5-9b8a-c4115d7d6b83
Stereotype name: Dependency ??? e8dd691d-a07e-4b24-8b13-eb5d3b7ba32a
Stereotype name: PropertyTableDefinition Dictionary Properties
Stereotype name: Class Volume
Stereotype name: Class Country
Stereotype name: Class Country
Stereotype name: Class Carrier
Stereotype name: AcceptCallEventAction RES + AWB/R#
Stereotype name: Class Operating Flight
Stereotype name: Dependency ??? f969926e-b52f-4a27-8faf-af7b637ab6a9
Stereotype name: Dependency ??? 97916e05-a711-4ed6-a577-19f581f8f1a5
Stereotype name: Dependency ??? 1cf02f08-0ae9-4b9e-99c6-084799e427eb
Stereotype name: Dependency ??? 9d111958-3465-40bc-bc3a-2430120132b4
Stereotype name: Class Shipment Reference Information
Stereotype name: Class Department
Stereotype name: Class NumberRange
Stereotype name: Class eC Operating Flight
Stereotype name: Dependency ??? 0b1372c1-573c-4217-8b79-2abc4e4d3916
Stereotype name: Dependency ??? 828fa1e6-3b98-4431-9b17-da5140dab7d3
Stereotype name: Class Waybill
Stereotype name: Class AWB Status
Stereotype name: Dependency ??? 220b15fc-6d83-4385-b25e-fa9de6e87c7b
Stereotype name: Class Profile
Stereotype name: Class Range

Please Log in or Create an account to join the conversation.

Moderators: tmaebr
Time to create page: 0.043 seconds
^ Back to Top