Clover Coverage Report - ARESTC 0.1.7-SNAPSHOT
Coverage timestamp: Fri Aug 27 2010 19:12:04 CEST
../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
4   63   3   1.33
0   16   0.75   3
3     1  
1    
 
  ServiceConnectorData       Line # 26 4 0% 3 0 100% 1.0
 
  (27)
 
1    /*
2    *
3    * (C)opyright 2010, Nikolaos Georgosopoulos
4    *
5    * This file is part of ARESTC.
6    *
7    * ARESTC is free software: you can redistribute it and/or modify it under the
8    * terms of the Lesser General Public License as published by the Free Software
9    * Foundation, either version 3 of the License, or (at your option) any later
10    * version.
11    *
12    * ARESTC is distributed in the hope that it will be useful, but WITHOUT ANY
13    * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14    * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15    *
16    * You should have received a copy of the Lesser General Public License along
17    * with ARESTC. If not, see <http://www.gnu.org/licenses/>.
18    */
19    package net.sf.arestc.core.services;
20   
21   
22    // TODO: Auto-generated Javadoc
23    /**
24    * The Class ServiceConnectorData.
25    */
 
26    public class ServiceConnectorData {
27    /** The content type. */
28    private final String contentType;
29    /** The returned type. */
30    private final ReturnedTypes returnedType;
31   
32    /**
33    * Instantiates a new service connector data.
34    *
35    * @param contentType the content type
36    * @param returnedType the returned type
37    */
 
38  280 toggle public ServiceConnectorData(final String contentType,
39    final ReturnedTypes returnedType) {
40  280 this.contentType = contentType;
41  280 this.returnedType = returnedType;
42   
43    }
44   
45    /**
46    * Gets the content type.
47    *
48    * @return the content type
49    */
 
50  2 toggle public String getContentType() {
51  2 return contentType;
52    }
53   
54    /**
55    * Gets the returned type.
56    *
57    * @return the returned type
58    */
 
59  10 toggle public ReturnedTypes getReturnedType() {
60  10 return returnedType;
61    }
62   
63    }