db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1026034 - /db/jdo/trunk/api/src/java/javax/jdo/metadata/ColumnMetadata.java
Date Thu, 21 Oct 2010 15:48:58 GMT
Author: andyj
Date: Thu Oct 21 15:48:58 2010
New Revision: 1026034

URL: http://svn.apache.org/viewvc?rev=1026034&view=rev
Log:
JDO-660 Add position to javax.jdo.metadata, was missing from earlier patch, and if we provide
a new attribute it needs to be specifiable by the API too

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/metadata/ColumnMetadata.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/metadata/ColumnMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/metadata/ColumnMetadata.java?rev=1026034&r1=1026033&r2=1026034&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/metadata/ColumnMetadata.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/metadata/ColumnMetadata.java Thu Oct 21 15:48:58 2010
@@ -160,4 +160,18 @@ public interface ColumnMetadata extends 
      * @return Insert value
      */
     String getInsertValue();
+
+    /**
+     * Method to set the position
+     * 
+     * @param pos Position
+     */
+    ColumnMetadata setPosition(int pos);
+
+    /**
+     * Accessor for the position
+     * 
+     * @return position
+     */
+    Integer getPosition();
 }



Mime
View raw message