View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krad.data.provider;
17  
18  import java.util.Collection;
19  import java.util.Map;
20  
21  import org.kuali.rice.krad.data.metadata.DataObjectMetadata;
22  
23  /**
24   */
25  public class TestMetadataProvider implements MetadataProvider {
26      private String name;
27  
28      public String getName() {
29          return name;
30      }
31  
32      public void setName(String name) {
33          this.name = name;
34      }
35  
36      @Override
37  	public Map<Class<?>, DataObjectMetadata> provideMetadata() {
38          return null;
39      }
40  
41      @Override
42      public DataObjectMetadata getMetadataForType(Class<?> dataObjectType) throws IllegalArgumentException {
43          return null;
44      }
45  
46      @Override
47      public boolean handles(Class<?> type) {
48          return true;
49      }
50  
51      @Override
52  	public Collection<Class<?>> getSupportedTypes() {
53          return null;
54      }
55  
56  	@Override
57  	public boolean requiresListOfExistingTypes() {
58  		// TODO Auto-generated method stub
59  		return false;
60  	}
61  
62  	@Override
63  	public Map<Class<?>, DataObjectMetadata> provideMetadataForTypes(Collection<Class<?>> types) {
64  		// TODO Auto-generated method stub
65  		return null;
66  	}
67  }