Annotation Type ModelViewController


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    @DesignPattern(source=Other,
                   type=ENTERPRISE)
    public @interface ModelViewController
    Intent: The Model View Controller (MVC) pattern divides an application in three components: The View, the Controller and the Model.
    • The View presents data to clients
    • The Controller handles client's requests, uses the Model to get things done and dispatches to the appropriate view a response to the request (this response might contain objects from the Model)
    • The Model wraps the logic and the domain model of the application, offering both services and objects to the view.

    Mediator Structure

    Since:
    2010-08-21
    Author:
    Marco Tedone
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String comment  
      java.lang.Class[] participants  
    • Element Detail

      • participants

        java.lang.Class[] participants
        Default:
        {}
      • comment

        java.lang.String comment
        Default:
        ""