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/metadata/fieldaccess PersistentFieldBase.java PersistentFieldDirectAccessImplNew.java PersistentFieldIntrospectorImplNew.java
Date Sun, 27 Jun 2004 13:48:32 GMT
arminw      2004/06/27 06:48:32

  Modified:    src/java/org/apache/ojb/broker/metadata/fieldaccess
                        PersistentFieldBase.java
                        PersistentFieldDirectAccessImplNew.java
                        PersistentFieldIntrospectorImplNew.java
  Log:
  move method to base class
  
  Revision  Changes    Path
  1.2       +6 -1      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldBase.java
  
  Index: PersistentFieldBase.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldBase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PersistentFieldBase.java	25 Jun 2004 16:02:28 -0000	1.1
  +++ PersistentFieldBase.java	27 Jun 2004 13:48:32 -0000	1.2
  @@ -67,6 +67,11 @@
           return fieldName;
       }
   
  +    public Class getDeclaringClass()
  +    {
  +        return rootObjectType;
  +    }
  +
       protected List getFieldGraph(boolean makeAccessible)
       {
           List result = new ArrayList();
  
  
  
  1.3       +1 -6      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldDirectAccessImplNew.java
  
  Index: PersistentFieldDirectAccessImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldDirectAccessImplNew.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PersistentFieldDirectAccessImplNew.java	26 Jun 2004 23:51:37 -0000	1.2
  +++ PersistentFieldDirectAccessImplNew.java	27 Jun 2004 13:48:32 -0000	1.3
  @@ -58,11 +58,6 @@
           return getField().getType();
       }
   
  -    public Class getDeclaringClass()
  -    {
  -        return getField().getDeclaringClass();
  -    }
  -
       /**
        * Returns the underlying field object.
        * If parameter <tt>setAccessible</tt> is true the
  
  
  
  1.3       +1 -6      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldIntrospectorImplNew.java
  
  Index: PersistentFieldIntrospectorImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldIntrospectorImplNew.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PersistentFieldIntrospectorImplNew.java	26 Jun 2004 23:51:37 -0000	1.2
  +++ PersistentFieldIntrospectorImplNew.java	27 Jun 2004 13:48:32 -0000	1.3
  @@ -65,11 +65,6 @@
           return type;
       }
   
  -    public Class getDeclaringClass()
  -    {
  -        return this.rootObjectType;
  -    }
  -
       public void set(Object target, Object value) throws MetadataException
       {
           if(target == null) return;
  
  
  

---------------------------------------------------------------------
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