com.solarmetric.kodo.impl.jdbc.schema
Interface NameGenerator
- All Known Implementing Classes:
- MD5NameGenerator, DefaultNameGenerator
- public interface NameGenerator
A NameGenerator is an interface to how name generation
should take place in the database. Generated names should
try to be unique, and should be consistant across JVM invocations.
For example, it would be inappropriate to use a String's hashCode()
to generate a name, since it is not guaranteed to be the same
across JVM invocations.
- Since:
- 2.4
getGeneratedName
public String getGeneratedName(String name)
- Obtain the generated name for the specified name.
- Parameters:
name - the name to translate- Returns:
- the generated name
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.