Package | Description |
---|---|
org.datanucleus.store.schema.naming |
This package is a work-in-progress to provide datastore-agnostic naming strategies for JDO, JPA and
indeed any other API.
|
Modifier and Type | Method and Description |
---|---|
static SchemaComponent |
SchemaComponent.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaComponent[] |
SchemaComponent.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractNamingFactory.getMaximumLengthForComponent(SchemaComponent cmpt) |
protected String |
AbstractNamingFactory.prepareIdentifierNameForUse(String name,
SchemaComponent cmpt)
Convenience method that will truncate the provided name if it is longer than the longest possible for the specified schema component,
and then convert it into the required case.
|
NamingFactory |
NamingFactory.setMaximumLength(SchemaComponent cmpt,
int max)
Method to set the maximum length of the name of the specified schema component.
|
NamingFactory |
AbstractNamingFactory.setMaximumLength(SchemaComponent cmpt,
int max) |
Copyright © 2015. All rights reserved.