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

  • Type Parameters:
    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)
    All Superinterfaces:
    IDomainContext<D,​DA>, IModelContext<M,​MA,​MP,​MC>, IObjectContext<D,​DA,​M,​MA>, IObjectTreeContext<M,​MA,​MR,​MP,​MC>, IProjectionTreeContext<D,​MP,​MC>
    All Known Implementing Classes:
    ExtensibleProjection.Context

    public interface IProjectionContext<D,​DA,​DR extends D,​DP extends D,​DC extends D,​M,​MA,​MR extends M,​MP extends M,​MC extends M>
    extends IDomainContext<D,​DA>, IModelContext<M,​MA,​MP,​MC>, IObjectContext<D,​DA,​M,​MA>, IObjectTreeContext<M,​MA,​MR,​MP,​MC>, IProjectionTreeContext<D,​MP,​MC>
    The projection context.
    • Generics with D prefix are related to tree of domain models.
    • Generics with M prefix are related to tree projection models.
    • Method Detail

      • setData

        void setData​(M model,
                     Object data)
        Sets the context data.
        Parameters:
        model - the projection model object, cannot be null
        data - the data, cannot be null
      • getData

        Object getData​(M model)
        Gets the context data.
        Parameters:
        model - model the projection model object, cannot be null
        Returns:
        can be null