Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 32   Methods: 3
NCLOC: 16   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
ElementIdentityConstraint.java - 66,7% 66,7% 66,7%
 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.schema.constraint;
 11   
 
 12   
 import org.jbind.xml.core.cmp.ISourceInfo;
 13   
 import org.jbind.xml.core.constraint.IElementIdentityConstraint;
 14   
 import org.jbind.xml.core.content.IElemRefOrDecl;
 15   
 
 16   
 public abstract class ElementIdentityConstraint extends IdentityConstraintComponent implements IElementIdentityConstraint {
 17   
 
 18   
   private IElemRefOrDecl myElementDecl = null;
 19   
 
 20  47
   public ElementIdentityConstraint(ISourceInfo aSourceInfo, String aNamespace, String aName) {
 21  47
     super(aSourceInfo, aNamespace, aName);
 22   
   }
 23   
 
 24  0
   public IElemRefOrDecl getElementDecl() {
 25  0
     return myElementDecl;
 26   
   }
 27   
 
 28  43
   public void setElementDecl(IElemRefOrDecl aDecl) {
 29  43
     myElementDecl = aDecl;
 30   
   }
 31   
 }
 32