Coverage report

  %line %branch
org.apache.jetspeed.profiler.rules.impl.PrincipalRuleImpl
0% 
0% 

 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one or more
 3  
  * contributor license agreements.  See the NOTICE file distributed with
 4  
  * this work for additional information regarding copyright ownership.
 5  
  * The ASF licenses this file to You under the Apache License, Version 2.0
 6  
  * (the "License"); you may not use this file except in compliance with
 7  
  * the License.  You may obtain a copy of the License at
 8  
  * 
 9  
  *      http://www.apache.org/licenses/LICENSE-2.0
 10  
  * 
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.apache.jetspeed.profiler.rules.impl;
 18  
 
 19  
 import org.apache.jetspeed.profiler.rules.PrincipalRule;
 20  
 import org.apache.jetspeed.profiler.rules.ProfilingRule;
 21  
 
 22  
 /**
 23  
  * PrincipalRuleImpl
 24  
  *
 25  
  * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
 26  
  * @version $Id: PrincipalRuleImpl.java 516448 2007-03-09 16:25:47Z ate $
 27  
  */
 28  0
 public class PrincipalRuleImpl implements PrincipalRule
 29  
 {
 30  
     private String principalName;
 31  
     private String ruleId;
 32  
     private ProfilingRule profilingRule;
 33  
     private String locatorName;
 34  
     
 35  
     /* (non-Javadoc)
 36  
      * @see org.apache.jetspeed.profiler.rules.PrincipalRule#getPrincipalName()
 37  
      */
 38  
     public String getPrincipalName()
 39  
     {
 40  0
         return this.principalName;
 41  
     }
 42  
     
 43  
     /* (non-Javadoc)
 44  
      * @see org.apache.jetspeed.profiler.rules.PrincipalRule#setPrincipalName(java.lang.String)
 45  
      */
 46  
     public void setPrincipalName(String name)
 47  
     {
 48  0
         this.principalName = name;
 49  0
     }
 50  
     
 51  
     
 52  
     /* (non-Javadoc)
 53  
      * @see org.apache.jetspeed.profiler.rules.PrincipalRule#getProfilingRule()
 54  
      */
 55  
     public ProfilingRule getProfilingRule()
 56  
     {
 57  0
         return this.profilingRule;    
 58  
     }
 59  
 
 60  
     /* (non-Javadoc)
 61  
      * @see org.apache.jetspeed.profiler.rules.PrincipalRule#setProfilingRule(org.apache.jetspeed.profiler.rules.ProfilingRule)
 62  
      */
 63  
     public void setProfilingRule(ProfilingRule rule)
 64  
     {
 65  0
         this.profilingRule = rule;    
 66  0
         this.ruleId = rule.getId();
 67  0
     }
 68  
     
 69  
     /**
 70  
      * @return Returns the locatorName.
 71  
      */
 72  
     public String getLocatorName()
 73  
     {
 74  0
         return locatorName;
 75  
     }
 76  
     /**
 77  
      * @param locatorName The locatorName to set.
 78  
      */
 79  
     public void setLocatorName(String locatorName)
 80  
     {
 81  0
         this.locatorName = locatorName;
 82  0
     }
 83  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.