Interface IClassParticipant<PD extends D,​PM extends M,​D,​DA,​DR extends D,​DP extends D,​DC extends D,​M,​MA,​MR extends M,​MP extends M,​MC extends M,​C extends IProjectionContext<D,​DA,​DR,​DP,​DC,​M,​MA,​MR,​MP,​MC>>

  • Type Parameters:
    PD - the domain model
    PM - the projection model
    D - the base class for all domain objects (EObject)
    DA - the attribute class, whose instances can be addressed for reading/writeing fields of domain objects of class D (EStructuralFeature)
    DR - the root domain object class
    DP - the base container class of domain objects, tree node (FormItemContainer)
    DC - the base class of children of the domain object container (FormItem)
    M - the base class for all projection objects (EObject)
    MA - the attribute class, whose instances can be addressed for reading/writeing fields of projection objects of class M (EStructuralFeature)
    MR - the root projection object class
    MP - the base container class of projection objects, tree node (FormItemContainer)
    MC - the base class of children of the projection object container (FormItem)
    C - the context
    All Superinterfaces:
    IObjectParticipant<PD,​PM,​D,​DA,​DR,​DP,​DC,​M,​MA,​MR,​MP,​MC,​C>, IProjectionParticipant<PD,​PM,​D,​DA,​DR,​DP,​DC,​M,​MA,​MR,​MP,​MC,​C>
    All Known Implementing Classes:
    ClassParticipant, CompositeClassParticipant

    public interface IClassParticipant<PD extends D,​PM extends M,​D,​DA,​DR extends D,​DP extends D,​DC extends D,​M,​MA,​MR extends M,​MP extends M,​MC extends M,​C extends IProjectionContext<D,​DA,​DR,​DP,​DC,​M,​MA,​MR,​MP,​MC>>
    extends IObjectParticipant<PD,​PM,​D,​DA,​DR,​DP,​DC,​M,​MA,​MR,​MP,​MC,​C>
    The class participant of the extensible projection.

    This complements the participant interface by 3 additional methods that allows to get domain class, create projection model by domain model and prepare model after creation before projection process.

    • Generics with D prefix are related to tree of domain models.
    • Generics with M prefix are related to tree projection models.
    • Method Detail

      • getDomainClass

        Class<PD> getDomainClass()
      • createModel

        PM createModel​(PD domain)
      • prepareModel

        void prepareModel​(PD domain,
                          PM model,
                          C context)