Coverage Report - org.apache.myfaces.config.impl.digester.elements.FacesFlowCallImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
FacesFlowCallImpl
0%
0/12
N/A
1
 
 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one
 3  
  * or more contributor license agreements.  See the NOTICE file
 4  
  * distributed with this work for additional information
 5  
  * regarding copyright ownership.  The ASF licenses this file
 6  
  * to you under the Apache License, Version 2.0 (the
 7  
  * "License"); you may not use this file except in compliance
 8  
  * with the License.  You may obtain a copy of the License at
 9  
  *
 10  
  *   http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 12  
  * Unless required by applicable law or agreed to in writing,
 13  
  * software distributed under the License is distributed on an
 14  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  * KIND, either express or implied.  See the License for the
 16  
  * specific language governing permissions and limitations
 17  
  * under the License.
 18  
  */
 19  
 package org.apache.myfaces.config.impl.digester.elements;
 20  
 
 21  
 import java.util.ArrayList;
 22  
 import java.util.List;
 23  
 import org.apache.myfaces.config.element.FacesFlowCall;
 24  
 import org.apache.myfaces.config.element.FacesFlowParameter;
 25  
 import org.apache.myfaces.config.element.FacesFlowReference;
 26  
 
 27  
 /**
 28  
  *
 29  
  * @author Leonardo Uribe
 30  
  */
 31  
 public class FacesFlowCallImpl extends FacesFlowCall
 32  
 {
 33  
     private FacesFlowReference _flowReference;
 34  
     private List<FacesFlowParameter> _outboundParameterList;
 35  
     private String _id;
 36  
 
 37  
     public FacesFlowCallImpl()
 38  0
     {
 39  0
         _outboundParameterList = new ArrayList<FacesFlowParameter>();
 40  0
     }
 41  
 
 42  
     @Override
 43  
     public List<FacesFlowParameter> getOutboundParameterList()
 44  
     {
 45  0
         return _outboundParameterList;
 46  
     }
 47  
     
 48  
     public void addOutboundParameter(FacesFlowParameter parameter)
 49  
     {
 50  0
         _outboundParameterList.add(parameter);
 51  0
     }
 52  
 
 53  
     @Override
 54  
     public String getId()
 55  
     {
 56  0
         return _id;
 57  
     }
 58  
 
 59  
     public void setId(String id)
 60  
     {
 61  0
         this._id = id;
 62  0
     }
 63  
 
 64  
     @Override
 65  
     public FacesFlowReference getFlowReference()
 66  
     {
 67  0
         return _flowReference;
 68  
     }
 69  
 
 70  
     public void setFlowReference(FacesFlowReference flowReference)
 71  
     {
 72  0
         this._flowReference = flowReference;
 73  0
     }
 74  
 
 75  
 }