db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r743842 - in /db/jdo/trunk/api2/src/java/javax/jdo/metadata: ComponentMetadata.java ElementMetadata.java KeyMetadata.java MemberMetadata.java ValueMetadata.java
Date Thu, 12 Feb 2009 19:14:31 GMT
Author: andyj
Date: Thu Feb 12 19:14:31 2009
New Revision: 743842

URL: http://svn.apache.org/viewvc?rev=743842&view=rev
Log:
JDO-615 Add some missing ColumnMetadata methods - good job nobody spotted those

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/ComponentMetadata.java
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/ElementMetadata.java
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/KeyMetadata.java
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/MemberMetadata.java
    db/jdo/trunk/api2/src/java/javax/jdo/metadata/ValueMetadata.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/metadata/ComponentMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/metadata/ComponentMetadata.java?rev=743842&r1=743841&r2=743842&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/metadata/ComponentMetadata.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/metadata/ComponentMetadata.java Thu Feb 12 19:14:31
2009
@@ -372,4 +372,25 @@
      * @return The number of fetch groups
      */
     int getNumberOfFetchGroups();
+
+    /**
+     * Accessor for all column(s) defined on the join.
+     * 
+     * @return The column(s)
+     */
+    ColumnMetadata[] getColumns();
+
+    /**
+     * Add a new column for this join.
+     * 
+     * @return The ColumnMetadata
+     */
+    ColumnMetadata newColumnMetadata();
+
+    /**
+     * Accessor for the number of columns defined for this join.
+     * 
+     * @return The number of columns
+     */
+    int getNumberOfColumns();
 }
\ No newline at end of file

Modified: db/jdo/trunk/api2/src/java/javax/jdo/metadata/ElementMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/metadata/ElementMetadata.java?rev=743842&r1=743841&r2=743842&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/metadata/ElementMetadata.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/metadata/ElementMetadata.java Thu Feb 12 19:14:31
2009
@@ -91,7 +91,7 @@
      * 
      * @return The ColumnMetadata
      */
-    ColumnMetadata newColumn();
+    ColumnMetadata newColumnMetadata();
 
     /**
      * Accessor for the number of columns defined for this element.

Modified: db/jdo/trunk/api2/src/java/javax/jdo/metadata/KeyMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/metadata/KeyMetadata.java?rev=743842&r1=743841&r2=743842&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/metadata/KeyMetadata.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/metadata/KeyMetadata.java Thu Feb 12 19:14:31 2009
@@ -90,7 +90,7 @@
      * 
      * @return The ColumnMetadata
      */
-    ColumnMetadata newColumn();
+    ColumnMetadata newColumnMetadata();
 
     /**
      * Accessor for the number of columns defined for this key.

Modified: db/jdo/trunk/api2/src/java/javax/jdo/metadata/MemberMetadata.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/metadata/MemberMetadata.java?rev=743842&r1=743841&r2=743842&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/metadata/MemberMetadata.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/metadata/MemberMetadata.java Thu Feb 12 19:14:31
2009
@@ -475,4 +475,25 @@
      * @return The ForeignKeyMetadata
      */
     ForeignKeyMetadata getForeignKeyMetadata();
+
+    /**
+     * Accessor for all column(s) defined on the join.
+     * 
+     * @return The column(s)
+     */
+    ColumnMetadata[] getColumns();
+
+    /**
+     * Add a new column for this join.
+     * 
+     * @return The ColumnMetadata
+     */
+    ColumnMetadata newColumnMetadata();
+
+    /**
+     * Accessor for the number of columns defined for this join.
+     * 
+     * @return The number of columns
+     */
+    int getNumberOfColumns();
 }
\ No newline at end of file

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=743842&r1=743841&r2=743842&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 Thu Feb 12 19:14:31 2009
@@ -91,7 +91,7 @@
      * 
      * @return The ColumnMetadata
      */
-    ColumnMetadata newColumn();
+    ColumnMetadata newColumnMetadata();
 
     /**
      * Method to set new embedded metadata for the value.



Mime
View raw message