db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r737751 - /db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java
Date Mon, 26 Jan 2009 17:05:45 GMT
Author: andyj
Date: Mon Jan 26 17:05:44 2009
New Revision: 737751

URL: http://svn.apache.org/viewvc?rev=737751&view=rev
Log:
JDO-615 More inconsistency

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java?rev=737751&r1=737750&r2=737751&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java Mon Jan 26 17:05:44 2009
@@ -80,11 +80,25 @@
     ForeignKeyAction getUpdateAction();
 
     /**
+     * Accessor for all column(s) defined on the value.
+     * 
+     * @return The column(s)
+     */
+    ColumnMetadata[] getColumns();
+
+    /**
+     * Add a new column for this value.
+     * 
+     * @return The ColumnMetadata
+     */
+    ColumnMetadata newColumn();
+
+    /**
      * Method to set new embedded metadata for the value.
      * 
      * @return The EmbeddedMetadata
      */
-    EmbeddedMetadata setEmbeddedMetadata();
+    EmbeddedMetadata newEmbeddedMetadata();
 
     /**
      * Accessor for any embedded metadata on this value



Mime
View raw message