You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2003/08/31 02:48:46 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker Identity.java
arminw 2003/08/30 17:48:46
Modified: src/java/org/apache/ojb/broker Identity.java
Log:
remove deprecated constructor
Revision Changes Path
1.24 +2 -23 db-ojb/src/java/org/apache/ojb/broker/Identity.java
Index: Identity.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/Identity.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Identity.java 28 Jul 2003 22:33:38 -0000 1.23
+++ Identity.java 31 Aug 2003 00:48:46 -0000 1.24
@@ -84,7 +84,7 @@
public class Identity implements Serializable
{
/**
- * the Class of the identified object<br>
+ * the top-level Class of the identified object<br>
* ie: an Interface
*/
private Class objectsTopLevelClass;
@@ -108,27 +108,6 @@
private Identity()
{
super();
- }
-
- /**
- * creates an Identity from a class and the objects primary key values.
- * used for the definition of proxies.
- * Important note:
- * The caller is responsible to assure
- * that aClass is not a member of an extent, or that it is the base class of
- * an extent!
- *
- * @deprecated please use the public Identity(Class realClass, Class topLevel, Object[] pkValues) Constructor
- *
- * @param aClass java.lang.Class
- * @param pkValues List
- */
- public Identity(Class aClass, Object[] pkValues)
- {
- this.objectsTopLevelClass = aClass;
- this.objectsRealClass = aClass;
- this.pkValues = pkValues;
- checkForPrimaryKeys();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org