tomdz 2005/08/29 13:04:28
Modified: src/java/org/apache/ojb/broker/metadata/fieldaccess
PersistentField.java
Log:
Enhanced Javadoc
Revision Changes Path
1.10 +20 -1
db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentField.java
Index: PersistentField.java
===================================================================
RCS file:
/home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentField.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- PersistentField.java 27 Aug 2005 12:16:54 -0000 1.9
+++ PersistentField.java 29 Aug 2005 20:04:28 -0000 1.10
@@ -20,13 +20,32 @@
import org.apache.ojb.broker.metadata.MetadataException;
/**
+ * Represents a persistent field, eg. a field that (depending on the access
setting of
+ * the corresponding field descriptor) shall be read and set by OJB.
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Thomas Mahler<a>
* @version $Id$
*/
public interface PersistentField extends Serializable
{
+ /**
+ * Returns the class where the field is declared.
+ *
+ * @return The declaring class
+ */
public Class getDeclaringClass();
+
+ /**
+ * Returns the name of the field.
+ *
+ * @return The name
+ */
public String getName();
+
+ /**
+ * Returns the type of the field.
+ * @return The type
+ */
public Class getType();
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]