[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations/datamodel ...

Gavin King gavin.king at jboss.com
Mon Oct 9 23:48:19 EDT 2006


  User: gavin   
  Date: 06/10/09 23:48:19

  Modified:    src/main/org/jboss/seam/annotations/datamodel 
                        DataModel.java
  Log:
  javadoc and minor refactor
  
  Revision  Changes    Path
  1.8       +6 -6      jboss-seam/src/main/org/jboss/seam/annotations/datamodel/DataModel.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DataModel.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/datamodel/DataModel.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- DataModel.java	18 Sep 2006 22:26:00 -0000	1.7
  +++ DataModel.java	10 Oct 2006 03:48:19 -0000	1.8
  @@ -1,4 +1,4 @@
  -//$Id: DataModel.java,v 1.7 2006/09/18 22:26:00 gavin Exp $
  +//$Id: DataModel.java,v 1.8 2006/10/10 03:48:19 gavin Exp $
   package org.jboss.seam.annotations.datamodel;
   
   import static java.lang.annotation.ElementType.FIELD;
  @@ -44,11 +44,11 @@
      String value() default "";
      
      /**
  -    * By default, the DataModel is outjected to the same
  -    * scope as the owning component, or to the EVENT scope
  -    * in the case of a stateless component. If scope=ScopeType.PAGE
  -    * is explicitly specified, the DataModel will be kept
  -    * in the PAGE context instead.
  +    * Specifies the scope to outject the DataModel to. 
  +    * If no scope is explicitly specified, the scope of 
  +    * the component with the @DataModel attribute is used. 
  +    * But if the component scope is STATELESS, the EVENT 
  +    * scope is used.
       * 
       * @return ScopeType.UNSPECIFIED or ScopeType.PAGE
       */
  
  
  



More information about the jboss-cvs-commits mailing list