db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r452835 - /db/ojb/trunk/src/test/org/apache/ojb/broker/InnerClassTest2.java
Date Wed, 04 Oct 2006 11:14:38 GMT
Author: arminw
Date: Wed Oct  4 04:14:37 2006
New Revision: 452835

URL: http://svn.apache.org/viewvc?view=rev&rev=452835
Log:
add getter/setter

Modified:
    db/ojb/trunk/src/test/org/apache/ojb/broker/InnerClassTest2.java

Modified: db/ojb/trunk/src/test/org/apache/ojb/broker/InnerClassTest2.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/broker/InnerClassTest2.java?view=diff&rev=452835&r1=452834&r2=452835
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/broker/InnerClassTest2.java (original)
+++ db/ojb/trunk/src/test/org/apache/ojb/broker/InnerClassTest2.java Wed Oct  4 04:14:37 2006
@@ -325,6 +325,16 @@
         setText("uninitialized");
     }
 
+    public Integer getId()
+    {
+        return id;
+    }
+
+    public void setId(Integer id)
+    {
+        this.id = id;
+    }
+
     public String getText()
     {
         return text;
@@ -345,6 +355,11 @@
         return innerClasses;
     }
 
+    public void setInnerClasses(List innerClasses)
+    {
+        this.innerClasses = innerClasses;
+    }
+
     public void addInnerClass(InnerClass2 innerClass)
     {
         innerClasses.add(innerClass);
@@ -361,6 +376,16 @@
             setText("empty");
         }
 
+        public Integer getId()
+        {
+            return id;
+        }
+
+        public void setId(Integer id)
+        {
+            this.id = id;
+        }
+
         public String getText()
         {
             return text;
@@ -381,10 +406,25 @@
             return deepInnerClasses;
         }
 
+        public void setDeepInnerClasses(List deepInnerClasses)
+        {
+            this.deepInnerClasses = deepInnerClasses;
+        }
+
         class DeepInnerClass
         {
             private Integer id;
             private String text;
+
+            public Integer getId()
+            {
+                return id;
+            }
+
+            public void setId(Integer id)
+            {
+                this.id = id;
+            }
 
             public String getText()
             {



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message