Uses of Class
org.datanucleus.metadata.ConstraintMetaData
Packages that use ConstraintMetaData
Package
Description
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
This package is a work-in-progress to provide datastore-agnostic naming strategies for JDO, JPA and
indeed any other API.
-
Uses of ConstraintMetaData in org.datanucleus.metadata
Subclasses of ConstraintMetaData in org.datanucleus.metadataModifier and TypeClassDescriptionclass
Foreign keys in metadata serve two quite different purposes.class
For schema generation, it might be useful to specify that a column or columns be indexed, and to provide the name of the index.class
MetaData representing a unique constraint.Constructors in org.datanucleus.metadata with parameters of type ConstraintMetaData -
Uses of ConstraintMetaData in org.datanucleus.store.schema.naming
Methods in org.datanucleus.store.schema.naming with parameters of type ConstraintMetaDataModifier and TypeMethodDescriptionAbstractNamingFactory.getConstraintName
(String className, AbstractMemberMetaData mmd, ConstraintMetaData cnstrmd) AbstractNamingFactory.getConstraintName
(AbstractClassMetaData cmd, ConstraintMetaData cnstrmd, int position) AbstractNamingFactory.getConstraintName
(AbstractClassMetaData cmd, ConstraintMetaData cnstrmd, ColumnType type) NamingFactory.getConstraintName
(String className, AbstractMemberMetaData mmd, ConstraintMetaData cnstrmd) Method to return the name of a constraint specified at member level.NamingFactory.getConstraintName
(AbstractClassMetaData cmd, ConstraintMetaData cnstrmd, int position) Method to return the name of a constraint specified at class level.NamingFactory.getConstraintName
(AbstractClassMetaData cmd, ConstraintMetaData cnstrmd, ColumnType type) Method to return the name of the constraint for the specified class (version, datastore-id, discriminator etc).