Uses of Enum
org.datanucleus.store.schema.naming.SchemaComponent
Packages that use SchemaComponent
Package
Description
This package is a work-in-progress to provide datastore-agnostic naming strategies for JDO, JPA and
indeed any other API.
-
Uses of SchemaComponent in org.datanucleus.store.schema.naming
Fields in org.datanucleus.store.schema.naming with type parameters of type SchemaComponentModifier and TypeFieldDescription(package private) Map
<SchemaComponent, Integer> AbstractNamingFactory.maxLengthByComponent
Map of max name length, keyed by the schema component typeMethods in org.datanucleus.store.schema.naming that return SchemaComponentModifier and TypeMethodDescriptionstatic SchemaComponent
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.Methods in org.datanucleus.store.schema.naming with parameters of type SchemaComponentModifier and TypeMethodDescriptionprotected 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.AbstractNamingFactory.setMaximumLength
(SchemaComponent cmpt, int max) NamingFactory.setMaximumLength
(SchemaComponent cmpt, int max) Method to set the maximum length of the name of the specified schema component.