db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker IdentityFactory.java
Date Wed, 07 Jul 2004 13:13:14 GMT
arminw      2004/07/07 06:13:14

  Modified:    src/java/org/apache/ojb/broker/core IdentityFactoryImpl.java
               src/java/org/apache/ojb/broker IdentityFactory.java
  Log:
  fix javadoc
  
  Revision  Changes    Path
  1.2       +5 -5      db-ojb/src/java/org/apache/ojb/broker/core/IdentityFactoryImpl.java
  
  Index: IdentityFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/IdentityFactoryImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IdentityFactoryImpl.java	6 Jul 2004 10:01:02 -0000	1.1
  +++ IdentityFactoryImpl.java	7 Jul 2004 13:13:14 -0000	1.2
  @@ -1,9 +1,9 @@
   package org.apache.ojb.broker.core;
   
   import org.apache.ojb.broker.Identity;
  +import org.apache.ojb.broker.IdentityFactory;
   import org.apache.ojb.broker.PersistenceBroker;
   import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.IdentityFactory;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.FieldDescriptor;
   
  @@ -31,7 +31,7 @@
       }
   
       /**
  -     * @see IdentityFactory#buildIdentity(java.lang.Object)
  +     * @see org.apache.ojb.broker.IdentityFactory#buildIdentity(java.lang.Object)
        */
       public Identity buildIdentity(ClassDescriptor cld, Object obj)
       {
  @@ -39,7 +39,7 @@
       }
   
       /**
  -     * @see IdentityFactory#buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[],
java.lang.Object[]))
  +     * @see org.apache.ojb.broker.IdentityFactory#buildIdentity(java.lang.Class, java.lang.Class,
java.lang.String[], java.lang.Object[])
        */
       public Identity buildIdentity(Class realClass, Class topLevelClass, String[] pkFieldNames,
Object[] pkValues)
       {
  @@ -114,7 +114,7 @@
       }
   
       /**
  -     * @see org.apache.ojb.broker.IdentityFactory#buildIdentity(java.lang.Class, java.lang.String[],
java.lang.Object[]))
  +     * @see org.apache.ojb.broker.IdentityFactory#buildIdentity(java.lang.Class, java.lang.String[],
java.lang.Object[])
        */
       public Identity buildIdentity(Class realClass, String[] pkFieldNames, Object[] pkValues)
       {
  
  
  
  1.2       +10 -9     db-ojb/src/java/org/apache/ojb/broker/IdentityFactory.java
  
  Index: IdentityFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/IdentityFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IdentityFactory.java	6 Jul 2004 10:01:03 -0000	1.1
  +++ IdentityFactory.java	7 Jul 2004 13:13:14 -0000	1.2
  @@ -1,13 +1,13 @@
   package org.apache.ojb.broker;
   
  -import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   
   /**
  - * Builds {@link Identity} objects to identify persistence capable objects within OJB.
  + * Builds {@link org.apache.ojb.broker.Identity} objects to identify persistence capable
objects within OJB.
    * In many cases the primary key (based on metadata declaration) of an object is known
    * and the whole object should be materialized (e.g. findByPrimaryKey(...) calls).
  - * This class make available a bunch of methods help to create {@link Identity} objects
based on
  + * This class make available a bunch of methods help to create {@link org.apache.ojb.broker.Identity}
  + * objects based on
    * <ul>
    *    <li>the persistence capable object itself</li>
    *    <li>the primary key values of a persistence capable object</li>
  @@ -15,7 +15,8 @@
    * NOTE:
    * <br/>
    * It is possible to assign new created objects
  - * with a valid UID before they are written to database - more info see {@link Identity}.
This should be
  + * with a valid UID before they are written to database - more info see {@link org.apache.ojb.broker.Identity}.
  + * This should be
    * used with care, because not all {@link org.apache.ojb.broker.util.sequence.SequenceManager}
    * implementations returns the "real" UID value before the object was stored (e.g. when
database based
    * Identity columns were used a temporary placeholder was returned).
  @@ -26,7 +27,7 @@
   public interface IdentityFactory
   {
       /**
  -     * Build a unique {@link Identity} for the given
  +     * Build a unique {@link org.apache.ojb.broker.Identity} for the given
        * persistence capable object.
        *
        * @param obj The object to build the {@link Identity} for.
  @@ -35,7 +36,7 @@
       Identity buildIdentity(Object obj);
   
       /**
  -     * Build a unique {@link Identity} for the given
  +     * Build a unique {@link org.apache.ojb.broker.Identity} for the given
        * persistence capable object.
        *
        * @param cld The {@link org.apache.ojb.broker.metadata.ClassDescriptor} of the
  @@ -60,7 +61,7 @@
   
       /**
        * Convenience method for
  -     * {@link #buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[], java.lang.Object[]))}
  +     * {@link #buildIdentity(java.lang.Class, java.lang.Class, java.lang.String[], java.lang.Object[])}
        */
       Identity buildIdentity(Class realClass, String[] fieldName, Object[] pkValues);
   
  @@ -68,10 +69,10 @@
        * Convenience method for persistent objects with single primary key.
        * NOTE: Do not use for objects with composed PK!
        *
  -     * @see #buildIdentity(java.lang.Class, java.lang.String[], java.lang.Object[])
        * @param realClass The class of the associated object.
        * @param pkValue The PK value.
        * @return The a new created <em>Identity</em> object.
  +     * @see #buildIdentity(java.lang.Class, java.lang.String[], java.lang.Object[])
        */
       Identity buildIdentity(Class realClass, Object pkValue);
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message