Coverage report

  %line %branch
org.apache.jetspeed.page.impl.TransactionedOperation
0% 
0% 

 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one or more
 3  
  * contributor license agreements.  See the NOTICE file distributed with
 4  
  * this work for additional information regarding copyright ownership.
 5  
  * The ASF licenses this file to You under the Apache License, Version 2.0
 6  
  * (the "License"); you may not use this file except in compliance with
 7  
  * the License.  You may obtain a copy of the License at
 8  
  * 
 9  
  *      http://www.apache.org/licenses/LICENSE-2.0
 10  
  * 
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.apache.jetspeed.page.impl;
 18  
 
 19  
 
 20  
 /**
 21  
  * A transactioned operation is a single Page Manager DML operation that was applied
 22  
  * to the OJB cache. Im finding that OJB is not properly synchronizing its cache
 23  
  * upon rollback of database transactions. This code may not be needed in future
 24  
  * versions of OJB which have fixed this bug.
 25  
  * 
 26  
  * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
 27  
  * @version $Id: $
 28  
  */
 29  
 public class TransactionedOperation 
 30  
 {
 31  
     public static final int ADD_OPERATION = 0;
 32  
     public static final int UPDATE_OPERATION = 1;
 33  
     private String path;
 34  
     private int transactionType;
 35  
     
 36  
     public TransactionedOperation(String path, int type)
 37  0
     {
 38  0
         this.path = path;
 39  0
         this.transactionType = type;
 40  0
     }
 41  
 
 42  
     
 43  
     public String getPath()
 44  
     {
 45  0
         return path;
 46  
     }
 47  
 
 48  
     
 49  
     public void setPath(String path)
 50  
     {
 51  0
         this.path = path;
 52  0
     }
 53  
 
 54  
     
 55  
     public int getTransactionType()
 56  
     {
 57  0
         return transactionType;
 58  
     }
 59  
 
 60  
     
 61  
     public void setTransactionType(int transactionType)
 62  
     {
 63  0
         this.transactionType = transactionType;
 64  0
     }
 65  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.