Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 56   Methods: 7
NCLOC: 35   Classes: 1
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
DataImpl.java - 90% 85,7% 88,2%
 1   
 /*
 2   
  * JBind
 3   
  *
 4   
  * Copyright (c) by Stefan Wachter. All rights reserved.
 5   
  *
 6   
  * Usage, modification, and redistribution is subject to license terms that are
 7   
  * available at 'http://www.jbind.org'. The JBind license is like the
 8   
  * 'Apache Software License V 1.1'.
 9   
  */
 10   
 package org.jbind.xml.instance.impl;
 11   
 
 12   
 import org.jbind.xml.base.ILocation;
 13   
 import org.jbind.xml.core.bridge.IDataImpl;
 14   
 import org.jbind.xml.core.bridge.IImplContainer;
 15   
 import org.jbind.xml.core.data.IAnyTypeData;
 16   
 
 17   
 public abstract class DataImpl extends Impl implements IDataImpl {
 18   
 
 19   
   private IImplContainer myParent = null;
 20   
   private IAnyTypeData myData = null;
 21   
 
 22   
   private String myNamespace = null;
 23   
   private String myPartName = null;
 24   
 
 25  4955
   public DataImpl(IImplContainer aParent, String aNamespace, String aName, ILocation aLocation) {
 26  4955
     super(aLocation);
 27  4955
     myParent = aParent;
 28  4955
     myNamespace = aNamespace;
 29  4955
     myPartName = aName;
 30   
   }
 31   
 
 32  0
   public final IImplContainer getParent() {
 33  0
     return myParent;
 34   
   }
 35   
 
 36  7839
   public final IAnyTypeData getData() {
 37  7839
     return myData;
 38   
   }
 39   
 
 40  3980
   public final void setData(IAnyTypeData aData) {
 41  3980
     myData = aData;
 42   
   }
 43   
 
 44  14819
   public final String getNamespace() {
 45  14819
     return myNamespace;
 46   
   }
 47   
 
 48  12900
   public final String getPartName() {
 49  12900
     return myPartName;
 50   
   }
 51   
 
 52  2779
   public final IImplContainer getParentImpl() {
 53  2779
     return myParent;
 54   
   }
 55   
 }
 56