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 2004/05/11 19:19:40 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/sequence SequenceManagerHelper.java SequenceManagerException.java HighLowSequence.java AbstractSequenceManager.java
arminw 2004/05/11 10:19:40
Modified: src/java/org/apache/ojb/broker/util/sequence
SequenceManagerHelper.java
SequenceManagerException.java HighLowSequence.java
AbstractSequenceManager.java
Log:
restore javadoc comments
Revision Changes Path
1.16 +19 -12 db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java
Index: SequenceManagerHelper.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- SequenceManagerHelper.java 4 Apr 2004 23:53:38 -0000 1.15
+++ SequenceManagerHelper.java 11 May 2004 17:19:39 -0000 1.16
@@ -1,5 +1,20 @@
package org.apache.ojb.broker.util.sequence;
+/* Copyright 2002-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
import org.apache.ojb.broker.PersistenceBroker;
import org.apache.ojb.broker.PersistenceBrokerException;
import org.apache.ojb.broker.metadata.ClassDescriptor;
@@ -15,19 +30,11 @@
import java.util.Iterator;
import java.util.Vector;
-/* Copyright 2002-2004 The Apache Software Foundation
+/**
+ * Helper class for SequenceManager implementations.
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
+ * @version $Id$
*/
public class SequenceManagerHelper
{
1.4 +10 -2 db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerException.java
Index: SequenceManagerException.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SequenceManagerException.java 4 Apr 2004 23:53:38 -0000 1.3
+++ SequenceManagerException.java 11 May 2004 17:19:40 -0000 1.4
@@ -1,7 +1,5 @@
package org.apache.ojb.broker.util.sequence;
-import org.apache.ojb.broker.OJBException;
-
/* Copyright 2002-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +13,16 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ */
+
+import org.apache.ojb.broker.OJBException;
+
+/**
+ * An exception thrown by {@link org.apache.ojb.broker.util.sequence.SequenceManager}
+ * implementations.
+ *
+ * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
+ * @version $Id$
*/
public class SequenceManagerException extends OJBException
{
1.11 +5 -6 db-ojb/src/java/org/apache/ojb/broker/util/sequence/HighLowSequence.java
Index: HighLowSequence.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/HighLowSequence.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- HighLowSequence.java 4 Apr 2004 23:53:38 -0000 1.10
+++ HighLowSequence.java 11 May 2004 17:19:40 -0000 1.11
@@ -1,10 +1,5 @@
package org.apache.ojb.broker.util.sequence;
-import org.apache.commons.lang.builder.ToStringBuilder;
-import org.apache.commons.lang.builder.ToStringStyle;
-
-import java.io.Serializable;
-
/* Copyright 2002-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,6 +15,10 @@
* limitations under the License.
*/
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
+
+import java.io.Serializable;
/**
* The HighLowSequence is the persistent part of the {@link SequenceManagerHighLowImpl}.
1.16 +20 -10 db-ojb/src/java/org/apache/ojb/broker/util/sequence/AbstractSequenceManager.java
Index: AbstractSequenceManager.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/AbstractSequenceManager.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- AbstractSequenceManager.java 4 Apr 2004 23:53:38 -0000 1.15
+++ AbstractSequenceManager.java 11 May 2004 17:19:40 -0000 1.16
@@ -1,15 +1,5 @@
package org.apache.ojb.broker.util.sequence;
-import java.util.Properties;
-
-import org.apache.ojb.broker.PersistenceBroker;
-import org.apache.ojb.broker.accesslayer.JdbcAccess;
-import org.apache.ojb.broker.metadata.ClassDescriptor;
-import org.apache.ojb.broker.metadata.FieldDescriptor;
-import org.apache.ojb.broker.metadata.SequenceDescriptor;
-import org.apache.ojb.broker.platforms.Platform;
-
-
/* Copyright 2002-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,6 +13,26 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ */
+
+import java.util.Properties;
+
+import org.apache.ojb.broker.PersistenceBroker;
+import org.apache.ojb.broker.accesslayer.JdbcAccess;
+import org.apache.ojb.broker.metadata.ClassDescriptor;
+import org.apache.ojb.broker.metadata.FieldDescriptor;
+import org.apache.ojb.broker.metadata.SequenceDescriptor;
+import org.apache.ojb.broker.platforms.Platform;
+
+/**
+ * A base class for sequence manager implementations.
+ * <br/>
+ * All sequence manager implementations need a constructor
+ * with a PersistenceBroker argument used by the
+ * {@link org.apache.ojb.broker.util.sequence.SequenceManagerFactory}.
+ *
+ * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
+ * @version $Id$
*/
public abstract class AbstractSequenceManager implements SequenceManager
{
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org