Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "MoDisco/Components/FacetManager"
m (MoDisco/RoleManager moved to MoDisco/FacetManager: renamed Role to Facet) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{MoDiscoFacetManagerTabs}} |
− | The MoDisco | + | The MoDisco facet component introduced the concept of "facet". A facet is a kind of virtual class extension. Those "virtual classes" will never have instances. An object can conform to a facet but can not be an instance of a facet. |
− | For example, assuming we have a class named Employee and two | + | For example, assuming we have a class named Employee and two facets: "Manager" and "Developer". We will have a set of Employee instances and some of them will have the facet of "Manager" or "Developer". |
− | The goal of | + | The goal of introducing the concept of facet is to be able to highlight some model elements as corresponding to a specific facet. |
− | The MoDisco | + | The MoDisco facet feature allows describing and using facet. The description is done by editing a model and the use is done through an API. The main client of this API is the MoDisco browser. |
Revision as of 00:24, 21 January 2010
DEPRECATED use Template:MoDiscoTabs and Template:MoDiscoTab as explain here : Wiki Template for MoDisco
The MoDisco facet component introduced the concept of "facet". A facet is a kind of virtual class extension. Those "virtual classes" will never have instances. An object can conform to a facet but can not be an instance of a facet.
For example, assuming we have a class named Employee and two facets: "Manager" and "Developer". We will have a set of Employee instances and some of them will have the facet of "Manager" or "Developer".
The goal of introducing the concept of facet is to be able to highlight some model elements as corresponding to a specific facet.
The MoDisco facet feature allows describing and using facet. The description is done by editing a model and the use is done through an API. The main client of this API is the MoDisco browser.