Coverage Report - com.lexicalscope.fluentreflection.bean.BeanMapBuilder
 
Classes in this File Line Coverage Branch Coverage Complexity
BeanMapBuilder
N/A
N/A
1
 
 1  
 package com.lexicalscope.fluentreflection.bean;
 2  
 
 3  
 import java.util.Map;
 4  
 
 5  
 import org.hamcrest.Matcher;
 6  
 
 7  
 import com.lexicalscope.fluentreflection.FluentMember;
 8  
 import com.lexicalscope.fluentreflection.bean.BeanMap.KeySetCalculation;
 9  
 import com.lexicalscope.fluentreflection.bean.BeanMap.PropertyNameConvertor;
 10  
 
 11  
 /*
 12  
  * Copyright 2011 Tim Wood
 13  
  *
 14  
  * Licensed under the Apache License, Version 2.0 (the "License");
 15  
  * you may not use this file except in compliance with the License.
 16  
  * You may obtain a copy of the License at
 17  
  *
 18  
  * http://www.apache.org/licenses/LICENSE-2.0
 19  
  *
 20  
  * Unless required by applicable law or agreed to in writing, software
 21  
  * distributed under the License is distributed on an "AS IS" BASIS,
 22  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 23  
  * See the License for the specific language governing permissions and
 24  
  * limitations under the License. 
 25  
  */
 26  
 
 27  
 public interface BeanMapBuilder {
 28  
     Map<String, Object> build(Object bean);
 29  
 
 30  
     BeanMapBuilder keys(KeySetCalculation onlyReadWriteProperties);
 31  
 
 32  
     BeanMapBuilder getters(Matcher<FluentMember> getterMatcher);
 33  
 
 34  
     BeanMapBuilder setters(Matcher<FluentMember> setterMatcher);
 35  
 
 36  
     BeanMapBuilder propertyNames(PropertyNameConvertor propertyNameConvertor);
 37  
 }