com.ohrasys.cad.gds.validator
Class DatabaseValidator

java.lang.Object
  extended by com.ohrasys.cad.bnf.BNFAbstractTest
      extended by com.ohrasys.cad.bnf.BNFRequiredTest
          extended by com.ohrasys.cad.gds.validator.DatabaseValidator
All Implemented Interfaces:
com.ohrasys.cad.bnf.BNFTestImplementor

public class DatabaseValidator
extends com.ohrasys.cad.bnf.BNFRequiredTest

A Bachus Naur test for a GDSII database.

Since:
1.5

Field Summary
 
Fields inherited from class com.ohrasys.cad.bnf.BNFAbstractTest
collectedData, collecting, committed, i18n, nextTest, playable, result, tests
 
Constructor Summary
DatabaseValidator()
          Creates a new DatabaseValidator object.
 
Method Summary
 java.lang.Object collect()
          A method to collect the database data during parsing
 java.lang.String toString()
          Returns a string representation of this validator
 
Methods inherited from class com.ohrasys.cad.bnf.BNFRequiredTest
test
 
Methods inherited from class com.ohrasys.cad.bnf.BNFAbstractTest
checkTests, isFirstTest, isLastTest, isNotLastTest, reset, setCollecting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseValidator

public DatabaseValidator()
                  throws com.ohrasys.cad.bnf.BNFTestException
Creates a new DatabaseValidator object.

Throws:
com.ohrasys.cad.bnf.BNFTestException - If an object creation error occurs
Method Detail

collect

public java.lang.Object collect()
A method to collect the database data during parsing

Specified by:
collect in interface com.ohrasys.cad.bnf.BNFTestImplementor
Overrides:
collect in class com.ohrasys.cad.bnf.BNFAbstractTest
Returns:
A list of containing a Database object

toString

public java.lang.String toString()
Returns a string representation of this validator

Overrides:
toString in class com.ohrasys.cad.bnf.BNFRequiredTest
Returns:
The physical address of this object