db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r504372 - /db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/DiscriminatorFieldDescriptor.java
Date Tue, 06 Feb 2007 23:42:35 GMT
Author: arminw
Date: Tue Feb  6 15:42:34 2007
New Revision: 504372

URL: http://svn.apache.org/viewvc?view=rev&rev=504372
Log:
override method setPersistentField to noop

Modified:
    db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/DiscriminatorFieldDescriptor.java

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/DiscriminatorFieldDescriptor.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/DiscriminatorFieldDescriptor.java?view=diff&rev=504372&r1=504371&r2=504372
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/DiscriminatorFieldDescriptor.java
(original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/DiscriminatorFieldDescriptor.java
Tue Feb  6 15:42:34 2007
@@ -54,12 +54,22 @@
         super(aCld, -1); // first field !!
 
         setRequired(true);
-        setPersistentField(new DiscriminatorPersistentField());
+        super.setPersistentField(new DiscriminatorPersistentField());
         setAccess(ACCESS_READWRITE);
 
         m_value = getClassDescriptor().getClassNameOfObject();
 
         aCld.setDiscriminatorField(this);
+    }
+
+    /**
+     * Immutable, noop-method. The {@link org.apache.ojb.broker.metadata.fieldaccess.PersistentField}
+     * implementation is automatically set.
+     * @param pf
+     */
+    public final void setPersistentField(PersistentField pf)
+    {
+        // noop
     }
 
     /**



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