Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 28   Methods: 2
NCLOC: 13   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
AttributeOccurence.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.base;
 11   
 
 12   
 public class AttributeOccurence {
 13   
 
 14   
   public final static AttributeOccurence OPTIONAL = new AttributeOccurence("optional");
 15   
   public final static AttributeOccurence PROHIBITED = new AttributeOccurence("prohibited");
 16   
   public final static AttributeOccurence REQUIRED = new AttributeOccurence("required");
 17   
 
 18   
   private String myString;
 19   
 
 20  9
   private AttributeOccurence(String aString) {
 21  9
     myString = aString;
 22   
   }
 23   
 
 24  782
   public String toString() {
 25  782
     return myString;
 26   
   }
 27   
 }
 28