org.kuali.rice.krad.data.provider
Class TestMetadataProvider

java.lang.Object
  extended by org.kuali.rice.krad.data.provider.TestMetadataProvider
All Implemented Interfaces:
MetadataProvider, Provider

public class TestMetadataProvider
extends Object
implements MetadataProvider


Constructor Summary
TestMetadataProvider()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMetadataProvider

public TestMetadataProvider()
Method Detail

getName

public String getName()

setName

public void setName(String name)

provideMetadata

public Map<Class<?>,DataObjectMetadata> provideMetadata()
Specified by:
provideMetadata in interface MetadataProvider

getMetadataForType

public DataObjectMetadata getMetadataForType(Class<?> dataObjectType)
                                      throws IllegalArgumentException
Specified by:
getMetadataForType in interface MetadataProvider
Throws:
IllegalArgumentException

handles

public boolean handles(Class<?> type)
Specified by:
handles in interface MetadataProvider

getSupportedTypes

public Collection<Class<?>> getSupportedTypes()
Specified by:
getSupportedTypes in interface MetadataProvider

requiresListOfExistingTypes

public boolean requiresListOfExistingTypes()
Specified by:
requiresListOfExistingTypes in interface MetadataProvider

provideMetadataForTypes

public Map<Class<?>,DataObjectMetadata> provideMetadataForTypes(Collection<Class<?>> types)
Specified by:
provideMetadataForTypes in interface MetadataProvider


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.