Clover coverage report - ONess Order Management Model - 0.5-SNAPSHOT
Coverage timestamp: jue ene 6 2005 02:36:20 CET
file stats: LOC: 66   Methods: 4
NCLOC: 19   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Item.java - 100% 100% 100%
coverage
 1    /*
 2    * Copyright 2004 Carlos Sanchez.
 3    *
 4    * Licensed under the Apache License, Version 2.0 (the "License");
 5    * you may not use this file except in compliance with the License.
 6    * You may obtain a copy of the License at
 7    *
 8    * http://www.apache.org/licenses/LICENSE-2.0
 9    *
 10    * Unless required by applicable law or agreed to in writing, software
 11    * distributed under the License is distributed on an "AS IS" BASIS,
 12    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13    * See the License for the specific language governing permissions and
 14    * limitations under the License.
 15    */
 16    package net.sf.oness.order.model.bo;
 17   
 18    import java.math.BigDecimal;
 19   
 20    import net.sf.oness.common.model.bo.AbstractBusinessObject;
 21   
 22    /**
 23    * @author Carlos Sanchez
 24    * @version $Revision: 1.2 $
 25    */
 26    public abstract class Item extends AbstractBusinessObject {
 27   
 28    private Long productId;
 29   
 30    private BigDecimal quantity;
 31   
 32    /**
 33    * @param productId
 34    * The productId to set.
 35    */
 36  283 public void setProductId(Long productId) {
 37  283 this.productId = productId;
 38    }
 39   
 40    /**
 41    * @hibernate.property
 42    *
 43    * @return Returns the productId.
 44    */
 45  1475 public Long getProductId() {
 46  1475 return productId;
 47    }
 48   
 49    /**
 50    * @param quantity
 51    * The quantity to set.
 52    */
 53  256 public void setQuantity(BigDecimal quantity) {
 54  256 this.quantity = quantity;
 55    }
 56   
 57    /**
 58    * @hibernate.property length="2"
 59    *
 60    * @return Returns the quantity.
 61    */
 62  1426 public BigDecimal getQuantity() {
 63  1426 return quantity;
 64    }
 65   
 66    }