csheets.ext.assertion
Class SGAssertion

java.lang.Object
  extended by csheets.ext.assertion.Assertion
      extended by csheets.ext.assertion.SGAssertion
All Implemented Interfaces:
Serializable

public class SGAssertion
extends Assertion

Class representing a System Generated Assertion.

Author:
Peter Palotas
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class csheets.ext.assertion.Assertion
Assertion.ComparisonResult, Assertion.Result
 
Field Summary
 
Fields inherited from class csheets.ext.assertion.Assertion
intervals, isInteger
 
Constructor Summary
SGAssertion(AssertableCell cell)
          Constructs a new System Generated Assertion (SGA) for the specified Cell if possible.
 
Method Summary
 
Methods inherited from class csheets.ext.assertion.Assertion
allowsIntegersOnly, equals, getIntervalIterator, getMultiInterval, toString, validate, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SGAssertion

public SGAssertion(AssertableCell cell)
            throws AssertionArithmeticException,
                   MathException
Constructs a new System Generated Assertion (SGA) for the specified Cell if possible.

Parameters:
cell - the Cell on which to create an SGA.
Throws:
AssertionArithmeticException - if the SGA could not be generated.
MathException