Clover coverage report - Code Coverage for hivemind release 1.0-beta-2
Coverage timestamp: Sun Aug 1 2004 14:03:45 EDT
file stats: LOC: 70   Methods: 7
NCLOC: 39   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
ServicePointDescriptor.java - 100% 100% 100%
coverage
 1   
 //  Copyright 2004 The Apache Software Foundation
 2   
 //
 3   
 // Licensed under the Apache License, Version 2.0 (the "License");
 4   
 // you may not use this file except in compliance with the License.
 5   
 // You may obtain a copy of the License at
 6   
 //
 7   
 //     http://www.apache.org/licenses/LICENSE-2.0
 8   
 //
 9   
 // Unless required by applicable law or agreed to in writing, software
 10   
 // distributed under the License is distributed on an "AS IS" BASIS,
 11   
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12   
 // See the License for the specific language governing permissions and
 13   
 // limitations under the License.
 14   
 
 15   
 package org.apache.hivemind.parse;
 16   
 
 17   
 import org.apache.hivemind.schema.Schema;
 18   
 import org.apache.hivemind.util.ToStringBuilder;
 19   
 
 20   
 /**
 21   
  * Defines a service extension point. Corresponds to
 22   
  * the <service-point> element of the module descriptor.
 23   
  *
 24   
  * @author Howard Lewis Ship
 25   
  */
 26   
 public final class ServicePointDescriptor extends AbstractServiceDescriptor
 27   
 {
 28   
     private String _id;
 29   
     private String _interfaceClassName;
 30   
     private Schema _parametersSchema;
 31   
 
 32  1318
     public String getId()
 33   
     {
 34  1318
         return _id;
 35   
     }
 36   
 
 37  1318
     public String getInterfaceClassName()
 38   
     {
 39  1318
         return _interfaceClassName;
 40   
     }
 41   
 
 42  1338
     public void setId(String string)
 43   
     {
 44  1338
         _id = string;
 45   
     }
 46   
 
 47  1338
     public void setInterfaceClassName(String string)
 48   
     {
 49  1338
         _interfaceClassName = string;
 50   
     }
 51   
 
 52  1
     protected void extendDescription(ToStringBuilder builder)
 53   
     {
 54  1
         builder.append("id", _id);
 55  1
         builder.append("interfaceClassName", _interfaceClassName);
 56  1
         builder.append("parametersSchema", _parametersSchema);
 57   
     }
 58   
 
 59  1319
     public Schema getParametersSchema()
 60   
     {
 61  1319
         return _parametersSchema;
 62   
     }
 63   
 
 64  1431
     public void setParametersSchema(Schema schema)
 65   
     {
 66  1431
         _parametersSchema = schema;
 67   
     }
 68   
 
 69   
 }
 70