jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1128238 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
Date Fri, 27 May 2011 10:19:32 GMT
Author: mduerig
Date: Fri May 27 10:19:31 2011
New Revision: 1128238

URL: http://svn.apache.org/viewvc?rev=1128238&view=rev
Log:
JCR-2978: Add accessor for parent to NodeInfoBuilder/PropertyInfoBuilder

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java?rev=1128238&r1=1128237&r2=1128238&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ItemInfoBuilder.java
Fri May 27 10:19:31 2011
@@ -367,6 +367,13 @@ public final class ItemInfoBuilder {
         }
 
         /**
+         * @return  the parent builder of this builder
+         */
+        public NodeInfoBuilder getParent() {
+            return parent;
+        }
+
+        /**
          * Returns the {@link NodeInfo} which has been built by this builder.
          *
          * @return
@@ -755,6 +762,13 @@ public final class ItemInfoBuilder {
         }
 
         /**
+         * @return  the parent builder of this builder
+         */
+        public NodeInfoBuilder getParent() {
+            return parent;
+        }
+
+        /**
          * Returns the {@link PropertyInfo} which has been built by this builder.
          *
          * @return



Mime
View raw message