Coverage Report - org.seasar.teeda.core.config.faces.element.impl.MapEntriesElementImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
MapEntriesElementImpl
0%
0/12
N/A
1
 
 1  
 /*
 2  
  * Copyright 2004-2011 the Seasar Foundation and the Others.
 3  
  *
 4  
  * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
 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,
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package org.seasar.teeda.core.config.faces.element.impl;
 17  
 
 18  
 import java.util.ArrayList;
 19  
 import java.util.List;
 20  
 
 21  
 import org.seasar.teeda.core.config.faces.element.MapEntriesElement;
 22  
 import org.seasar.teeda.core.config.faces.element.MapEntryElement;
 23  
 
 24  
 public class MapEntriesElementImpl implements MapEntriesElement {
 25  
 
 26  
     private String keyClassName_;
 27  
 
 28  
     private String valueClassName_;
 29  
 
 30  0
     private List mapEntries_ = new ArrayList();
 31  
 
 32  0
     public MapEntriesElementImpl() {
 33  0
     }
 34  
 
 35  
     public void setKeyClass(String keyClassName) {
 36  0
         keyClassName_ = keyClassName;
 37  0
     }
 38  
 
 39  
     public void setValueClass(String valueClassName) {
 40  0
         valueClassName_ = valueClassName;
 41  0
     }
 42  
 
 43  
     public void addMapEntry(MapEntryElement mapEntry) {
 44  0
         mapEntries_.add(mapEntry);
 45  0
     }
 46  
 
 47  
     public String getKeyClass() {
 48  0
         return keyClassName_;
 49  
     }
 50  
 
 51  
     public String getValueClass() {
 52  0
         return valueClassName_;
 53  
     }
 54  
 
 55  
     public List getMapEntries() {
 56  0
         return mapEntries_;
 57  
     }
 58  
 
 59  
 }