Interface MetadataRepository
- All Known Implementing Classes:
MetadataRepositoryImpl
public interface MetadataRepository
Public (read-only) interface to MetadataProvider stack.
Implementations must be thread safe.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether or not the repository contains metadata for the given type.Returns all metadata for all known data object types.getMetadata(Class<?> type) Obtain metadata for specified data object type.
-
Method Details
-
getMetadata
Obtain metadata for specified data object type.- Parameters:
type- the data object type for which to return metadata- Returns:
- DataObjectMetadata for the type or null if none is known
-
getAllMetadata
Map<Class<?>,DataObjectMetadata> getAllMetadata()Returns all metadata for all known data object types.- Returns:
- all metadata for all known data object types
-
contains
Indicates whether or not the repository contains metadata for the given type.- Parameters:
type- the type to check metadata for- Returns:
- true if the repository contains metadata for the given type, false otherwise
-