Coverage Report - org.seasar.teeda.core.config.faces.element.impl.ManagedPropertyElementImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
ManagedPropertyElementImpl
38%
8/21
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 org.seasar.teeda.core.config.faces.element.ListEntriesElement;
 19  
 import org.seasar.teeda.core.config.faces.element.ManagedPropertyElement;
 20  
 import org.seasar.teeda.core.config.faces.element.MapEntriesElement;
 21  
 
 22  
 /**
 23  
  * @author shot
 24  
  */
 25  
 public class ManagedPropertyElementImpl implements ManagedPropertyElement {
 26  
 
 27  
     private String propertyName_;
 28  
 
 29  
     private String propertyClass_;
 30  
 
 31  
     private String value_;
 32  
 
 33  
     private ListEntriesElement listEntries_;
 34  
 
 35  
     private MapEntriesElement mapEntries_;
 36  
 
 37  2
     private boolean nullValue_ = false;
 38  
 
 39  2
     public ManagedPropertyElementImpl() {
 40  2
     }
 41  
 
 42  
     public void setPropertyName(String propertyName) {
 43  1
         propertyName_ = propertyName;
 44  1
     }
 45  
 
 46  
     public void setPropertyClass(String propertyClass) {
 47  0
         propertyClass_ = propertyClass;
 48  0
     }
 49  
 
 50  
     public void setValue(String value) {
 51  0
         value_ = value;
 52  0
     }
 53  
 
 54  
     public void setListEntries(ListEntriesElement listEntries) {
 55  2
         listEntries_ = listEntries;
 56  2
     }
 57  
 
 58  
     public void setMapEntries(MapEntriesElement mapEntries) {
 59  0
         mapEntries_ = mapEntries;
 60  0
     }
 61  
 
 62  
     public String getPropertyName() {
 63  0
         return propertyName_;
 64  
     }
 65  
 
 66  
     public String getPropertyClass() {
 67  0
         return propertyClass_;
 68  
     }
 69  
 
 70  
     public String getValue() {
 71  0
         return value_;
 72  
     }
 73  
 
 74  
     public ListEntriesElement getListEntries() {
 75  1
         return listEntries_;
 76  
     }
 77  
 
 78  
     public MapEntriesElement getMapEntries() {
 79  0
         return mapEntries_;
 80  
     }
 81  
 
 82  
     public void setNullValue(boolean nullValue) {
 83  0
         nullValue_ = nullValue;
 84  0
     }
 85  
 
 86  
     public boolean isNullValue() {
 87  0
         return nullValue_;
 88  
     }
 89  
 
 90  
 }