AnyConstraint<T>
ConstraintGroup
, ValidationConstraint
public abstract class AbstractConstraint<T> extends java.lang.Object implements AnyConstraint<T>
AnyConstraint.getErrorCode()
.
Subclasses should set their own id by calling
AbstractConstraint(int)
.
Modifier and Type | Method | Description |
---|---|---|
int |
getErrorCode() |
Returns the error code from this constraint.
|
check
public int getErrorCode()
AnyConstraint
In the default case this should be an error code which is defined in the SBML specifications.
getErrorCode
in interface AnyConstraint<T>