Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 53   Methods: 7
NCLOC: 31   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
NonSerializableObject.java 0% 0% 0% 0%
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    * A non-serializable object
 12    */
 13    public class NonSerializableObject {
 14   
 15    private String id;
 16   
 17  0 public String getId() {
 18  0 return id;
 19    }
 20   
 21  0 public void setId(String id) {
 22  0 this.id = id;
 23    }
 24   
 25  0 public NonSerializableObject() {
 26    }
 27   
 28  0 public NonSerializableObject(String aId) {
 29  0 id = aId;
 30    }
 31   
 32   
 33  0 public String toString() {
 34  0 return id;
 35    }
 36   
 37  0 public boolean equals(Object aObject) {
 38  0 boolean result = false;
 39   
 40  0 if ((aObject != null) &&
 41    (aObject.getClass().getName().equals( this.getClass().getName()))) {
 42  0 if (id.equals(((NonSerializableObject)aObject).id)) {
 43  0 result = true;
 44    } // if
 45    } // if
 46   
 47  0 return result;
 48    } // equals
 49   
 50  0 public int hashCode() {
 51  0 return id.hashCode();
 52    } // hashCode
 53    } // class IdObject