db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r170001 - in /incubator/jdo/trunk/ri11/src/java/org/apache/jdo: impl/model/jdo/JDOModelFactoryImplDynamic.java impl/model/jdo/JDOModelImplDynamic.java impl/model/jdo/caching/JDOModelFactoryImplCaching.java model/jdo/JDOModel.java model/jdo/JDOModelFactory.java
Date Fri, 13 May 2005 09:30:05 GMT
Author: mbo
Date: Fri May 13 02:30:03 2005
New Revision: 170001

URL: http://svn.apache.org/viewcvs?rev=170001&view=rev
Log:
Fixed JDOModel javadoc

Modified:
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelFactoryImplDynamic.java
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelImplDynamic.java
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/caching/JDOModelFactoryImplCaching.java
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModel.java
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModelFactory.java

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelFactoryImplDynamic.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelFactoryImplDynamic.java?rev=170001&r1=170000&r2=170001&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelFactoryImplDynamic.java
(original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelFactoryImplDynamic.java
Fri May 13 02:30:03 2005
@@ -66,11 +66,13 @@
     /**
      * Creates a new empty JDOModel instance.
      * The returned JDOModel instance uses the specified flag
-     * <code>loadXMLMetadataDefault</code> to set the default value for the
-     * flag <code>loadXMLMetadata</code> used by the JDOModel methods
-     * createJDOClass and setJDOClass. 
-     * @param loadXMLMetadataDefault the default setting for the flag
-     * loadXMLMetadata.
+     * <code>loadXMLMetadataDefault</code> to set the default behavior 
+     * for the creation of new JDOClass instances  using methods 
+     * {@link JDOModel#createJDOClass(String)} and 
+     * {@link JDOModel#getJDOClass(String)} for which the caller doesn't 
+     * explicitly specify whether to read XML metatdata or not.
+     * @param loadXMLMetadataDefault the default setting for whether to 
+     * read XML metatdata in JDOModel's methods for JDOClass creation.
      */
     public JDOModel createJDOModel(JavaModel javaModel,
                                    boolean loadXMLMetadataDefault) {
@@ -89,11 +91,13 @@
     /**
      * Returns the JDOModel instance for the specified JavaModel.  
      * The returned JDOModel instance uses the specified flag
-     * <code>loadXMLMetadataDefault</code> to set the default value for the
-     * flag <code>loadXMLMetadata</code> used by the JDOModel methods
-     * createJDOClass and setJDOClass. 
-     * @param loadXMLMetadataDefault the default setting for the flag
-     * loadXMLMetadata.
+     * <code>loadXMLMetadataDefault</code> to set the default behavior 
+     * for the creation of new JDOClass instances  using methods 
+     * {@link JDOModel#createJDOClass(String)} and 
+     * {@link JDOModel#getJDOClass(String)} for which the caller doesn't 
+     * explicitly specify whether to read XML metatdata or not.
+     * @param loadXMLMetadataDefault the default setting for whether to 
+     * read XML metatdata in JDOModel's methods for JDOClass creation.
      */
     public JDOModel getJDOModel(JavaModel javaModel,
                                 boolean loadXMLMetadataDefault) {

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelImplDynamic.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelImplDynamic.java?rev=170001&r1=170000&r2=170001&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelImplDynamic.java
(original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/JDOModelImplDynamic.java
Fri May 13 02:30:03 2005
@@ -45,6 +45,7 @@
 import org.apache.jdo.model.java.JavaType;
 import org.apache.jdo.model.jdo.JDOClass;
 import org.apache.jdo.model.jdo.JDOModel;
+import org.apache.jdo.model.jdo.JDOModelFactory;
 import org.apache.jdo.model.jdo.JDOPackage;
 import org.apache.jdo.util.I18NHelper;
 
@@ -189,14 +190,13 @@
      * the existing instance is returned. Otherwise, it creates a new JDOClass 
      * instance, sets its declaringModel and returns the new instance.
      * <p>
-     * This method delegates to the createJDOModel method taking the flag
-     * <code>loadXMLMetadata</code> and passes the default value as specified
-     * at JDOModel creation time (see flag <code>loadXMLMetadataDefault</code>
+     * Whether this method reads XML metatdata or not is deteremined at
+     * JDOModel creation time (see flag <code>loadXMLMetadataDefault</code> 
      * in {@link JDOModelFactory#getJDOModel(JavaModel javaModel, boolean
      * loadXMLMetadataDefault)}). Invoking this method is method is equivalent
      * to <code>createJDOClass(className, loadXMLMetadataDefault)</code>.
-     * @param className the fully qualified class name of the JDOClass instance 
-     * to be returned
+     * @param className the fully qualified class name of the JDOClass
+     * instance to be returned
      * @return a JDOClass instance for the specified class name
      * @exception ModelException if impossible
      */
@@ -241,14 +241,13 @@
      * qualified class name if present. The method returns <code>null</code>

      * if it cannot find a JDOClass instance for the specified name. 
      * <p>
-     * This method delegates to the getJDOModel method taking the flag
-     * <code>loadXMLMetadata</code> and passes the default value as specified
-     * at JDOModel creation time (see flag <code>loadXMLMetadataDefault</code>
+     * Whether this method reads XML metatdata or not is deteremined at
+     * JDOModel creation time (see flag <code>loadXMLMetadataDefault</code> 
      * in {@link JDOModelFactory#getJDOModel(JavaModel javaModel, boolean
      * loadXMLMetadataDefault)}). Invoking this method is method is equivalent
      * to <code>createJDOClass(className, loadXMLMetadataDefault)</code>.
-     * @param className the fully qualified class name of the JDOClass instance 
-     * to be returned
+     * @param className the fully qualified class name of the JDOClass
+     * instance to be returned
      * @return a JDOClass instance for the specified class name 
      * or <code>null</code> if not present
      */

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/caching/JDOModelFactoryImplCaching.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/caching/JDOModelFactoryImplCaching.java?rev=170001&r1=170000&r2=170001&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/caching/JDOModelFactoryImplCaching.java
(original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/model/jdo/caching/JDOModelFactoryImplCaching.java
Fri May 13 02:30:03 2005
@@ -51,13 +51,15 @@
     }
     
     /**
-     * Creates a new empty JDOModel instance.
+     * Creates a new empty JDOModel instance. 
      * The returned JDOModel instance uses the specified flag
-     * <code>loadXMLMetadataDefault</code> to set the default value for the
-     * flag <code>loadXMLMetadata</code> used by the JDOModel methods
-     * createJDOClass and setJDOClass. 
-     * @param loadXMLMetadataDefault the default setting for the flag
-     * loadXMLMetadata.
+     * <code>loadXMLMetadataDefault</code> to set the default behavior 
+     * for the creation of new JDOClass instances  using methods 
+     * {@link JDOModel#createJDOClass(String)} and 
+     * {@link JDOModel#getJDOClass(String)} for which the caller doesn't 
+     * explicitly specify whether to read XML metatdata or not.
+     * @param loadXMLMetadataDefault the default setting for whether to 
+     * read XML metatdata in JDOModel's methods for JDOClass creation.
      */
     public JDOModel createJDOModel(JavaModel javaModel,
                                    boolean loadXMLMetadataDefault) {

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModel.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModel.java?rev=170001&r1=170000&r2=170001&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModel.java (original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModel.java Fri May 13 02:30:03
2005
@@ -70,14 +70,13 @@
      * the existing instance is returned. Otherwise, it creates a new JDOClass 
      * instance, sets its declaringModel and returns the new instance.
      * <p>
-     * This method delegates to the createJDOModel method taking the flag
-     * <code>loadXMLMetadata</code> and passes the default value as specified
-     * at JDOModel creation time (see flag <code>loadXMLMetadataDefault</code>
+     * Whether this method reads XML metatdata or not is deteremined at
+     * JDOModel creation time (see flag <code>loadXMLMetadataDefault</code> 
      * in {@link JDOModelFactory#getJDOModel(JavaModel javaModel, boolean
      * loadXMLMetadataDefault)}). Invoking this method is method is equivalent
      * to <code>createJDOClass(className, loadXMLMetadataDefault)</code>.
-     * @param className the fully qualified class name of the JDOClass instance 
-     * to be returned
+     * @param className the fully qualified class name of the JDOClass
+     * instance to be returned
      * @return a JDOClass instance for the specified class name
      * @exception ModelException if impossible
      */
@@ -106,14 +105,13 @@
      * qualified class name if present. The method returns <code>null</code>

      * if it cannot find a JDOClass instance for the specified name. 
      * <p>
-     * This method delegates to the getJDOModel method taking the flag
-     * <code>loadXMLMetadata</code> and passes the default value as specified
-     * at JDOModel creation time (see flag <code>loadXMLMetadataDefault</code>
+     * Whether this method reads XML metatdata or not is deteremined at
+     * JDOModel creation time (see flag <code>loadXMLMetadataDefault</code> 
      * in {@link JDOModelFactory#getJDOModel(JavaModel javaModel, boolean
      * loadXMLMetadataDefault)}). Invoking this method is method is equivalent
      * to <code>createJDOClass(className, loadXMLMetadataDefault)</code>.
-     * @param className the fully qualified class name of the JDOClass instance 
-     * to be returned
+     * @param className the fully qualified class name of the JDOClass
+     * instance to be returned
      * @return a JDOClass instance for the specified class name 
      * or <code>null</code> if not present
      */

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModelFactory.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModelFactory.java?rev=170001&r1=170000&r2=170001&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModelFactory.java (original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/jdo/JDOModelFactory.java Fri May
13 02:30:03 2005
@@ -29,13 +29,15 @@
 public interface JDOModelFactory 
 {
     /**
-     * Creates a new empty JDOModel instance.
+     * Creates a new empty JDOModel instance. 
      * The returned JDOModel instance uses the specified flag
-     * <code>loadXMLMetadataDefault</code> to set the default value for the
-     * flag <code>loadXMLMetadata</code> used by the JDOModel methods
-     * createJDOClass and setJDOClass. 
-     * @param loadXMLMetadataDefault the default setting for the flag
-     * loadXMLMetadata.
+     * <code>loadXMLMetadataDefault</code> to set the default behavior 
+     * for the creation of new JDOClass instances  using methods 
+     * {@link JDOModel#createJDOClass(String)} and 
+     * {@link JDOModel#getJDOClass(String)} for which the caller doesn't 
+     * explicitly specify whether to read XML metatdata or not.
+     * @param loadXMLMetadataDefault the default setting for whether to 
+     * read XML metatdata in JDOModel's methods for JDOClass creation.
      * @exception ModelException if impossible
      */
     public JDOModel createJDOModel(JavaModel javaModel,
@@ -52,11 +54,13 @@
     /**
      * Returns the JDOModel instance for the specified JavaModel.  
      * The returned JDOModel instance uses the specified flag
-     * <code>loadXMLMetadataDefault</code> to set the default value for the
-     * flag <code>loadXMLMetadata</code> used by the JDOModel methods
-     * createJDOClass and setJDOClass. 
-     * @param loadXMLMetadataDefault the default setting for the flag
-     * loadXMLMetadata.
+     * <code>loadXMLMetadataDefault</code> to set the default behavior 
+     * for the creation of new JDOClass instances  using methods 
+     * {@link JDOModel#createJDOClass(String)} and 
+     * {@link JDOModel#getJDOClass(String)} for which the caller doesn't 
+     * explicitly specify whether to read XML metatdata or not.
+     * @param loadXMLMetadataDefault the default setting for whether to 
+     * read XML metatdata in JDOModel's methods for JDOClass creation.
      */
     public JDOModel getJDOModel(JavaModel javaModel, 
                                 boolean loadXMLMetadataDefault);



Mime
View raw message