The StarUML plugin for generate a Kukulkan file from classes in mdj file.
- Open
Tools>Extension Manager
- Click on 'Install From Url...'
- Enter
https://github.com/kukulkan-project/kukulkan-staruml-plugin
- Click on 'Install'
- Open a class diagram made with Infotec UMLProfile
- Export class diagram as Kukulkan file
Tools>Export as Kukulkan File
- Enter a name for Kukulkan file with valid extensions
3k
orkukulkan
- Attribute type is not null
- Attribute type is one of Kukulkan types
- Attribute multiplicity is one of these: blank, 0..1, 1
- Multiplicity in relationships is one of these: 0..1, 1, 0..*, 1..*, *
- None relationship has both ends defined as no navigable
- When an end of a UMLAssociation is navigable, then opposite end has a name. (Ensures the name of the attribute in relationship declarations like OneToOne, OneToMany, ManyToOne, ManyToMany in Kukulkan file).
- Entity name should be in pascal case
- Attribute name should be in camel case
End1 | End2 | Type |
---|---|---|
Blank or 1 or 0..1 | Blank or 1 or 0..1 | OneToOne |
Blank or 1 or 0..1 | 0..* or 1..* or * | OneToMany |
0..* or 1..* or * | Blank or 1 or 0..1 | ManyToOne |
0..* or 1..* or * | 0..* or 1..* or * | ManyToMany |
The navigable flag in both ends of UML association defines Unidirectional or Bidirectional relationship.
End1 is defined by the class where UML association is created from.
End2 is defined by the class where UML association is dropped to.
End1 Navigable | End2 Navigable | Direction | Owner |
---|---|---|---|
true | true | Bidirectional | Left entity |
true | false | Unidirectional | Right entity |
false | true | Unidirectional | Left entity |
false | false | Unsupported | Left entity |
When a bidirectional relationship is created, navigable flags in association end are irrelevant.
Take care while defining directional relationships