Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 43   Methods: 5
NCLOC: 25   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
AttrRefOrDecl.java - 100% 100% 100%
 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.cmp;
 11   
 
 12   
 import org.jbind.xml.base.AttributeOccurence;
 13   
 import org.jbind.xml.core.cmp.ISourceInfo;
 14   
 import org.jbind.xml.core.content.IAttrRefOrDecl;
 15   
 import org.jbind.xml.core.data.ISimpleData;
 16   
 import org.jbind.xml.msg.IConstraintViolations;
 17   
 
 18   
 public abstract class AttrRefOrDecl extends AttrDesc implements IAttrRefOrDecl {
 19   
 
 20   
   private AttributeOccurence myOccurence;
 21   
 
 22   
   protected ISimpleData myDefault = null;
 23   
   protected ISimpleData myFixed = null;
 24   
 
 25  677
   public AttrRefOrDecl(ISourceInfo aSourceInfo, String aNamespace, String aName, AttributeOccurence anOccurence) {
 26  677
     super(aSourceInfo, aNamespace, aName);
 27  677
     myOccurence = anOccurence;
 28   
   }
 29   
 
 30  6941
   public AttributeOccurence getOccurence() {
 31  6941
     return myOccurence;
 32   
   }
 33  3437
   public ISimpleData getDefault() {
 34  3437
     return myDefault;
 35   
   }
 36  2624
   public ISimpleData getFixed() {
 37  2624
     return myFixed;
 38   
   }
 39   
 
 40  677
   public void validate(IConstraintViolations aViolations) {}
 41   
 
 42   
 }
 43