Public Member Functions | |
| __construct () | |
| create_fol ($json_str) | |
| translateClassesToFol ($json) | |
| translateIsA ($json) | |
| get_json () | |
| translateLinks ($json) | |
Data Fields | |
| $fol | |
Protected Member Functions | |
| translate_multiplicity ($mult, $role, $classes, $from=true) | |
| translate_association_without_class ($link, $builder) | |
| translate_association_with_class ($link, $builder) | |
| translate_generalization ($link, $builder) | |
| translate_links ($json, $builder) | |
This module implements the graphical-oriented UML encoding for crowd. Read paper "" for more details about formalisation.
| __construct | ( | ) |
| create_fol | ( | $json_str | ) |
| get_json | ( | ) |
|
protected |
Translate only the association link.
| link | A JSON object representing one association link with class. |
|
protected |
Translate associations without class together with cardinalities 0..*, 1..*, 0..1, 1..1 and M..N > 1 for both directions.
| link | A JSON object representing one association link without class. |
|
protected |
Translate a generalization link into DL using the Builder.
| link | A generaization link in a JSON string. |
|
protected |
Translate only the links from a JSON string with links using the given builder.
| json | A JSON object, the result from a decoded JSON String. |
|
protected |
Depending on $mult translate it into DL.
| $from | True if we have to represent the right cardinality. |
| translateClassesToFol | ( | $json | ) |
| translateIsA | ( | $json | ) |
| translateLinks | ( | $json | ) |
| $fol |
Translate a given JSON String representing a UML class diagram into a new JSON metamodel string.
| json | JSON UML string |
1.8.8