User Tools

Site Tools


padl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
padl [2014/03/24 03:52]
yann [Levels of Models]
padl [2018/06/16 16:06]
admin
Line 110: Line 110:
 ===== 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;
Line 135: Line 135:
  
 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]]!
padl.txt ยท Last modified: 2019/10/06 20:37 (external edit)