You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2007/12/22 18:33:17 UTC

svn commit: r606470 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java

Author: aadamchik
Date: Sat Dec 22 09:33:16 2007
New Revision: 606470

URL: http://svn.apache.org/viewvc?rev=606470&view=rev
Log:
generics

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java?rev=606470&r1=606469&r2=606470&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/reflect/LazyClassDescriptorDecorator.java Sat Dec 22 09:33:16 2007
@@ -74,7 +74,7 @@
         return descriptor.getEntity();
     }
 
-    public Class getObjectClass() {
+    public Class<?> getObjectClass() {
         checkDescriptorInitialized();
         return descriptor.getObjectClass();
     }
@@ -83,17 +83,17 @@
      * @deprecated since 3.0. Use {@link #visitProperties(PropertyVisitor)} method
      *             instead.
      */
-    public Iterator getProperties() {
+    public Iterator<Property> getProperties() {
         checkDescriptorInitialized();
         return descriptor.getProperties();
     }
 
-    public Iterator getIdProperties() {
+    public Iterator<Property> getIdProperties() {
         checkDescriptorInitialized();
         return descriptor.getIdProperties();
     }
     
-    public Iterator getMapArcProperties() {
+    public Iterator<ArcProperty> getMapArcProperties() {
         checkDescriptorInitialized();
         return descriptor.getMapArcProperties();
     }
@@ -103,7 +103,7 @@
         return descriptor.getProperty(propertyName);
     }
 
-    public ClassDescriptor getSubclassDescriptor(Class objectClass) {
+    public ClassDescriptor getSubclassDescriptor(Class<?> objectClass) {
         checkDescriptorInitialized();
         return descriptor.getSubclassDescriptor(objectClass);
     }