org.apache.ojb.broker.util.sequence
Class SequenceManagerTransientImpl
java.lang.Object
org.apache.ojb.broker.util.sequence.AbstractSequenceManager
org.apache.ojb.broker.util.sequence.SequenceManagerTransientImpl
- All Implemented Interfaces:
- SequenceManager
public class SequenceManagerTransientImpl
- extends AbstractSequenceManager
For internal use only!
This class is used to create transient primary key values for transient
Identity objects.
- Version:
- $Id: SequenceManagerTransientImpl.java,v 1.1 2007-08-24 22:17:29 ewestfal Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceManagerTransientImpl
public SequenceManagerTransientImpl(PersistenceBroker broker)
getUniqueLong
protected long getUniqueLong(FieldDescriptor field)
throws SequenceManagerException
- Description copied from class:
AbstractSequenceManager
- returns a unique long value for field.
the returned number is unique accross all tables in the extent of clazz.
- Specified by:
getUniqueLong in class AbstractSequenceManager
- Throws:
SequenceManagerException
getUniqueValue
public Object getUniqueValue(FieldDescriptor field)
throws SequenceManagerException
- Returns a unique object for the given field attribute.
The returned value takes in account the jdbc-type
and the FieldConversion.sql2java() conversion defined for
field.
The returned object is unique accross all tables in the extent
of class the field belongs to.
- Specified by:
getUniqueValue in interface SequenceManager- Overrides:
getUniqueValue in class AbstractSequenceManager
- Throws:
SequenceManagerException
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.