com.sun.mdm.index.idgen
Interface EuidGenerator

All Known Implementing Classes:
DefaultEuidGenerator

public interface EuidGenerator

Interface to generate EUID values.


Method Summary
 int getEUIDLength()
          Get the EUID length
 java.lang.String getNextEUID(java.sql.Connection con)
          Generate the next EUID
 void setParameter(java.lang.String parameterName, java.lang.Object value)
          Parameters of the euid generator represented in the configuration XML file are set using this method.
 

Method Detail

getEUIDLength

public int getEUIDLength()
Get the EUID length

Returns:
euid length

getNextEUID

public java.lang.String getNextEUID(java.sql.Connection con)
                             throws SEQException
Generate the next EUID

Returns:
next EUID
Throws:
SEQException - an error occurred

setParameter

public void setParameter(java.lang.String parameterName,
                         java.lang.Object value)
                  throws SEQException
Parameters of the euid generator represented in the configuration XML file are set using this method.

Parameters:
parameterName - parameter
value - parameter value
Throws:
SEQException - An error occurred


Sun Microsystems, Inc.