Map use cases and their connections to programming language objects

0 votes
asked Feb 6 in Question / help by PlantUserFromBrazil (120 points)

Hello

I would like to know if it's possible to interpret the plant uml (Use Case Diagram) syntax and generate some objects derived from them. 

For example this plant uml code bellow:

@startuml
User --> (Start)
(Start) --> (First Action)
@enduml
could generate instances of respective objects
class UseCase{
parentUseCase:UseCase
name:String
}
class Actor{
name:String
useCasesLinked[]:UseCase
}
The Instances would be:
useCase1 = {
 parentUseCase: NULL,
 name:"Start"
}
actor1= {
 name:"User",
 useCasesLinked:[useCase1]
}
useCase2 = {
 parentUseCase: useCase1,
 name:"First Action"
}

I Am asking this becaus i need to interpret the plant syntak and generate an Task Syntax of the TaskJuggler
Something Like

task user "User" {
  task start "Start"{
    task first_action "First Action"{
   
    }
  }
}

Any Ideas how to do that?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...