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?