Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| padl [2014/03/24 03:52] – [Levels of Models] yann | padl [2025/01/15 21:40] (current) – external edit 127.0.0.1 |
|---|
| ===== Names and Paths ===== | ===== Names and Paths ===== |
| |
| The ''getName()'' always returns the simple name of a constituent. For binary-class relationships and method invocations, the name returned by ''getName()'' is less important, it could simply be ''Method Invocation'', for example. For a first-class entity, though, it is important, for example ''getName()'' returns ''Constituent'' for ''padl.kernel.IConstituent''. Here are other examples of ''getName()'' values: | The ''getName()'' always returns the simple name of a constituent. For binary-class relationships and method invocations, the name returned by ''getName()'' is less important, it could simply be ''Method Invocation'', for example. For a first-class entity, though, it is important, for example ''getName()'' returns ''IConstituent'' for ''padl.kernel.IConstituent''. Here are other examples of ''getName()'' values: |
| |
| * ''padl'' for a package; | * ''padl'' for a package; |
| |
| The class ''padl.path.Finder'' in the ''PADL'' project can be used to walk the paths. | The class ''padl.path.Finder'' in the ''PADL'' project can be used to walk the paths. |
| | |
| | ===== Visitors ===== |
| | |
| | The PADL metamodel provide two types of visitors to allow third-party to analyse PADL models. It follows the standard API for visitors but with a twist for the implementation. Understading the PADL visitors [[http://www.ptidej.net/team/photos/180306 - Understanding PADL Visitor|is easy]]! |