public interface MetadataProvider extends Provider
These providers extract metadata from their sources (JPA Annotations, Custom krad-data anotations, Spring configuration, Message Services) to provide this information for use by the application and framework layers.
| Modifier and Type | Method and Description | 
|---|---|
| DataObjectMetadata | getMetadataForType(Class<?> dataObjectType)Obtains the metadata for a specific data type. | 
| Collection<Class<?>> | getSupportedTypes()Returns a complete list of the data object types which will return data from this provider. | 
| boolean | handles(Class<?> type)Indicates whether or not this provider handles metadata for the given data object type. | 
| Map<Class<?>,DataObjectMetadata> | provideMetadata()Provides the metadata available from this provider for all of it's data objects. | 
| Map<Class<?>,DataObjectMetadata> | provideMetadataForTypes(Collection<Class<?>> types)Provides the metadata for the given types. | 
| boolean | requiresListOfExistingTypes()Flag which allows the service to indicate that it requires knowledge of previously discovered persistable
 entities. | 
Map<Class<?>,DataObjectMetadata> provideMetadata()
Map<Class<?>,DataObjectMetadata> provideMetadataForTypes(Collection<Class<?>> types)
types - the list of types for which to get the metadata.DataObjectMetadata getMetadataForType(Class<?> dataObjectType)
dataObjectType - the type for which to get the metadata.IllegalArgumentException - if the data object type is null.boolean handles(Class<?> type)
type - the data object type to check.Collection<Class<?>> getSupportedTypes()
boolean requiresListOfExistingTypes()
That is, the service is designed only to process existing objects and not to create new ones.
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.