T - the type of object stored in the namespacepublic interface NamingPolicy<T>
NamingPolicy, a user can control the
behavior of the NamespaceBuilder.add(Object) method.
This does not necessarily guarantee success of the namespace
operation; if the generated name collides with a name already
in use, the collision policy is still in effect.
A number of common policies are defined in NamespaceBuilder.
Refer to the Javadoc there for details.
| Modifier and Type | Method and Description |
|---|---|
String |
generateName(T entry)
Create a name to use for the specified entry.
|
Copyright © 2024 Actian Corporation. All rights reserved.