Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 60   Methods: 7
NCLOC: 36   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Resource.java - 71.4% 71.4% 71.4%
coverage coverage
 1    /*
 2    * JBoss, Home of Professional Open Source
 3    *
 4    * Distributable under LGPL license.
 5    * See terms of license at gnu.org.
 6    */
 7   
 8    package org.jboss.cache.pojo.test;
 9   
 10    /**
 11    * Test class for PojoCache using annotation. This represents a special resource
 12    * type that can be declared @Transient. That is, it is neither Replicable nor
 13    * Serializable.
 14    *
 15    * @version $Revision: 1.1 $
 16    */
 17    @org.jboss.cache.pojo.annotation.Replicable
 18    public class Resource
 19    {
 20    String connection = null;
 21    String name = null;
 22    // Can turin it on for performance optimization
 23    // @org.jboss.cache.pojo.annotation.Serializable
 24    byte[] bin = null;
 25   
 26  4 public String getName()
 27    {
 28  4 return name;
 29    }
 30   
 31  2 public void setName(String name)
 32    {
 33  2 this.name = name;
 34    }
 35   
 36  0 public String getConnection()
 37    {
 38  0 return connection;
 39    }
 40   
 41  2 public void setConnection(String connection)
 42    {
 43  2 this.connection = connection;
 44    }
 45   
 46  4 public byte[] getByte()
 47    {
 48  4 return bin;
 49    }
 50   
 51  2 public void setByte(byte[] b)
 52    {
 53  2 bin = b;
 54    }
 55   
 56  0 public String toString()
 57    {
 58  0 return "name=" + getName() + ", type=" + getConnection() + " bytes= " +bin.toString();
 59    }
 60    }