Annotation Type View


  • @Retention(RUNTIME)
    @Inherited
    @Target(METHOD)
    @Documented
    public @interface View
    View annotation to designate Views to the controller
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The View name
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean defaultView
      If the view is the default view.
    • Element Detail

      • value

        java.lang.String value
        The View name
        Returns:
        the value
      • defaultView

        boolean defaultView
        If the view is the default view. One and only one view should set this value to true.
        Returns:
        true if it is the default view
        Default:
        false