Author: aadamchik
Date: Fri Apr 25 13:19:33 2008
New Revision: 651694
URL: http://svn.apache.org/viewvc?rev=651694&view=rev
Log:
javadocs
Modified:
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/ExtendedEnumeration.java
Modified:
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/ExtendedEnumeration.java
URL:
http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/ExtendedEnumeration.java?rev=651694&r1=651693&r2=651694&view=diff
==============================================================================
---
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/ExtendedEnumeration.java
(original)
+++
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/ExtendedEnumeration.java
Fri Apr 25 13:19:33 2008
@@ -19,11 +19,17 @@
package org.apache.cayenne;
-public interface ExtendedEnumeration
-{
+/**
+ * An interface that Enum classes may implement to map enum instances to
arbitrary DB
+ * values that do not match the enum names or positions.
+ *
+ * @since 3.0
+ */
+public interface ExtendedEnumeration {
+
/**
- * Return the value to be stored in the database for this enumeration. In
- * actuality, this should be an Integer or a String.
+ * Return the value to be stored in the database for this enumeration. In
actuality,
+ * this should be an Integer or a String.
*/
- public Object getDatabaseValue();
+ Object getDatabaseValue();
}