Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not generate java class #130

Open
lemon34 opened this issue Apr 24, 2024 · 0 comments
Open

can not generate java class #130

lemon34 opened this issue Apr 24, 2024 · 0 comments

Comments

@lemon34
Copy link

lemon34 commented Apr 24, 2024

Description

  • Type: Bug

The Error:

SyntaxError: Expected "*", "--", "---", "..", "<|", "o", [ \t], [.], or [-] but "{" found.


Bug

puml2code version

puml2code version :0.1.0

(git describe --tags / puml2code -V)

plantuml file that reproduce issue

@startuml

package Starter {
class AccSolutionController {
+ submitAccSolution(Object, String): ResponseResult
+ saveAccSolutionSnapshot(Object, String): ResponseResult
+ queryAccSolution(String): ResponseResult
+ importAccSolution(MultipartFile): Object
+ exportAccSolution(SolutionBO):String
}
}

package Application {
class SolutionBO {
- solutionCode: String
- content: Object
- solutionType: String
}
interface SolutionOperation {
+ submitSolution(SolutionBO) :void
+ querySolution(String) :Object
+ saveSolutionSnapshot(SolutionBO):void
}
class AccountingSolutionApplication {
+ submitSolution(SolutionBO) :void
+ querySolution(String) :Object
+ saveSolutionSnapshot(SolutionBO):void
+ importAccSolution(MultipartFile): Object
+ exportAccSolution(SolutionBO):String
}
class ExcelUtil {
+ parseFile(MultipartFile):Object
}
}

package Domain {
interface AccSolutionRepo << interface >> {
+ submitAccSolution(AccountSolution):void
+ getAccSolution(AccountSolution):AccountSolution

}
class AccountSolution {
  - object: Object
}
class Solution {
  - solutionName: String
  - id: Long
  - solutionDesc: String
  - solutionIdList: List<Long>
  - solutionCode: String
  - solutionType: String
  - solutionStatus: String
  - solutionVersion: Integer
}
class AccValidator {
    + check(AccountSolution) : String
}

class WorkFlow {
  - submiterId: String
  - procInfoData: Map<String, String>
  - code: String
  - submitterTime: String
  - pdCode: String
  - submitterName: String
  - name: String
  - submitterMis: String
  - pdName: String

}
class WorkFlowFactory {
  + create(String, String, String, String, String, String, String, String, JSONObject, JSONObject): WorkFlow
}
interface WorkflowGateway << interface >> {
  + getWorkFlowByCode(String): WorkFlow
  + submitWorkFlow(WorkFlow): String
}

}
package Infrastructure {
class AccSolutionRepoImpl {
+ submitAccSolution(AccountSolution):void
+ getAccSolution(AccountSolution):AccountSolution
}
class WorkflowGatewayImpl {
+ getWorkFlowByCode(String): WorkFlow
+ submitWorkFlow(WorkFlow): String
}
}

AccSolutionController ..> AccountingSolutionApplication

AccountingSolutionApplication .left.> SolutionBO

AccountingSolutionApplication .right.^ SolutionOperation

AccountSolution -right-^ Solution

AccountingSolutionApplication --> AccSolutionRepo
AccountingSolutionApplication --> AccValidator
AccountingSolutionApplication ..> AccountSolution
AccountingSolutionApplication ..> WorkFlow
AccountingSolutionApplication .left.> ExcelUtil

AccountingSolutionApplication ..> WorkFlowFactory
AccountingSolutionApplication --> WorkflowGateway
WorkFlowFactory .right.> WorkFlow
AccSolutionRepoImpl .up.^ AccSolutionRepo
WorkflowGatewayImpl .up.^ WorkflowGateway
@enduml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant