Class MetadataRepositoryImpl
java.lang.Object
org.kuali.rice.krad.data.metadata.impl.MetadataRepositoryImpl
- All Implemented Interfaces:
MetadataRepository
MetadataRepository implementation backed by the ProviderRegistry
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
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.voidsetProviderRegistry(ProviderRegistry registry)
-
Constructor Details
-
MetadataRepositoryImpl
public MetadataRepositoryImpl()
-
-
Method Details
-
setProviderRegistry
-
getMetadata
Description copied from interface:MetadataRepositoryObtain metadata for specified data object type.- Specified by:
getMetadatain interfaceMetadataRepository- Parameters:
type- the data object type for which to return metadata- Returns:
- DataObjectMetadata for the type or null if none is known
-
getAllMetadata
Description copied from interface:MetadataRepositoryReturns all metadata for all known data object types.- Specified by:
getAllMetadatain interfaceMetadataRepository- Returns:
- all metadata for all known data object types
-
contains
Description copied from interface:MetadataRepositoryIndicates whether or not the repository contains metadata for the given type.- Specified by:
containsin interfaceMetadataRepository- Parameters:
type- the type to check metadata for- Returns:
- true if the repository contains metadata for the given type, false otherwise
-