Coverage Report - org.seasar.teeda.core.config.faces.element.impl.PropertyElementImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
PropertyElementImpl
67%
12/18
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.PropertyElement;
 22  
 
 23  
 /**
 24  
  * @author ohtani
 25  
  */
 26  
 public class PropertyElementImpl implements PropertyElement {
 27  
 
 28  
     private String propertyName_;
 29  
 
 30  
     private String propertyClass_;
 31  
 
 32  
     private String defaultValue_;
 33  
 
 34  
     private String suggestedValue_;
 35  
 
 36  4
     private List propertyExtensions_ = new ArrayList();
 37  
 
 38  4
     public PropertyElementImpl() {
 39  4
     }
 40  
 
 41  
     public void setPropertyName(String propertyName) {
 42  3
         propertyName_ = propertyName;
 43  3
     }
 44  
 
 45  
     public void setPropertyClass(String propertyClass) {
 46  3
         propertyClass_ = propertyClass;
 47  3
     }
 48  
 
 49  
     public void setDefaultValue(String defaultValue) {
 50  3
         defaultValue_ = defaultValue;
 51  3
     }
 52  
 
 53  
     public void setSuggestedValue(String suggestedValue) {
 54  0
         suggestedValue_ = suggestedValue;
 55  0
     }
 56  
 
 57  
     public String getPropertyName() {
 58  3
         return propertyName_;
 59  
     }
 60  
 
 61  
     public String getPropertyClass() {
 62  3
         return propertyClass_;
 63  
     }
 64  
 
 65  
     public String getDefaultValue() {
 66  4
         return defaultValue_;
 67  
     }
 68  
 
 69  
     public String getSuggestedValue() {
 70  0
         return suggestedValue_;
 71  
     }
 72  
 
 73  
     public void addPropertyExtension(String propertyExtension) {
 74  0
         propertyExtensions_.add(propertyExtension);
 75  0
     }
 76  
 
 77  
     public List getPropertyExtensions() {
 78  0
         return propertyExtensions_;
 79  
     }
 80  
 
 81  
 }