SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.impl.jdbc.schema
Class MD5NameGenerator

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.schema.MD5NameGenerator
All Implemented Interfaces:
NameGenerator

public class MD5NameGenerator
extends Object
implements NameGenerator

An implementation of NameGenerator that generates names based on the MD5 sum of the specified target name. This is useful for, for example, index names, which often run into name truncation issues due to column/table name limitations of the database.

Since:
2.4

Constructor Summary
MD5NameGenerator()
           
 
Method Summary
 String getGeneratedName(String name)
          Obtain the generated name for the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5NameGenerator

public MD5NameGenerator()
Method Detail

getGeneratedName

public String getGeneratedName(String name)
Obtain the generated name for the specified name.
Specified by:
getGeneratedName in interface NameGenerator
Parameters:
name - the name to translate
Returns:
the generated name

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.