Coverage report

  %line %branch
org.apache.jetspeed.om.page.psml.DocumentImpl
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.om.page.psml;
 18  
 
 19  
 import org.apache.jetspeed.om.page.Document;
 20  
 import org.apache.jetspeed.page.document.psml.AbstractNode;
 21  
 
 22  
 
 23  
 /**
 24  
  * <p>
 25  
  * Link
 26  
  * </p>
 27  
  * <p>
 28  
  * 
 29  
  * </p>
 30  
  * 
 31  
  * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
 32  
  * @version $Id: LinkImpl.java 314803 2005-10-12 06:35:19Z rwatler $
 33  
  * 
 34  
  */
 35  0
 public abstract class DocumentImpl extends AbstractNode implements Document 
 36  
 {
 37  
     
 38  
     private String version;
 39  0
     private boolean dirty=false;
 40  
 
 41  
 	/**
 42  
      * unmarshalled - notification that this instance has been
 43  
      *                loaded from the persistent store
 44  
      */
 45  
     public void unmarshalled()
 46  
     {
 47  
         // notify super class implementation
 48  0
         super.unmarshalled();
 49  
 
 50  
         // default version of pages to name
 51  0
         if (getVersion() == null)
 52  
         {
 53  0
             setVersion(getVersion());
 54  
         }
 55  0
     }
 56  
     /**
 57  
      * @return Returns the version.
 58  
      */
 59  
     public String getVersion()
 60  
     {
 61  0
         return version;
 62  
     }
 63  
     /**
 64  
      * @param version The version to set.
 65  
      */
 66  
     public void setVersion(String version)
 67  
     {
 68  0
         this.version = version;
 69  0
     }
 70  
     
 71  
     public boolean isDirty() {
 72  0
 		return dirty;
 73  
 	}
 74  
     
 75  
 	public void setDirty(boolean dirty) {
 76  0
 		this.dirty = dirty;
 77  0
 	}
 78  
 
 79  
 }

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