public class TestMetadataProvider extends Object implements MetadataProvider
Constructor and Description |
---|
TestMetadataProvider() |
Modifier and Type | Method and Description |
---|---|
DataObjectMetadata |
getMetadataForType(Class<?> dataObjectType) |
String |
getName() |
Collection<Class<?>> |
getSupportedTypes() |
boolean |
handles(Class<?> type) |
Map<Class<?>,DataObjectMetadata> |
provideMetadata() |
Map<Class<?>,DataObjectMetadata> |
provideMetadataForTypes(Collection<Class<?>> types) |
boolean |
requiresListOfExistingTypes() |
void |
setName(String name) |
public TestMetadataProvider()
public Map<Class<?>,DataObjectMetadata> provideMetadata()
provideMetadata
in interface MetadataProvider
public DataObjectMetadata getMetadataForType(Class<?> dataObjectType) throws IllegalArgumentException
getMetadataForType
in interface MetadataProvider
IllegalArgumentException
public boolean handles(Class<?> type)
handles
in interface MetadataProvider
public Collection<Class<?>> getSupportedTypes()
getSupportedTypes
in interface MetadataProvider
public boolean requiresListOfExistingTypes()
requiresListOfExistingTypes
in interface MetadataProvider
public Map<Class<?>,DataObjectMetadata> provideMetadataForTypes(Collection<Class<?>> types)
provideMetadataForTypes
in interface MetadataProvider
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.