org.sbml.jsbml.ext.arrays.validator.constraints
public abstract class ArraysConstraint extends java.lang.Object
ArraysConstraint
object ensures that a given Model
doesn't
violate a certain validation rule defined in the arrays specification.Modifier and Type | Field and Description |
---|---|
protected java.util.List<SBMLError> |
listOfErrors
This is used to track
SBMLErrors that are detected in the model. |
protected Model |
model
A Model to be checked.
|
Constructor and Description |
---|
ArraysConstraint()
Constructs an ArraysConstraint.
|
ArraysConstraint(Model model)
Constructs an ArraysConstraint with a model.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
check()
This function is used to check if the given model
doesn't violate the constraint specified by this
object.
|
java.util.List<SBMLError> |
getListOfErrors()
Get the listOfErrors after checking the model.
|
protected void |
logFailure(int code,
int severity,
int category,
int line,
int column,
java.lang.String pkg,
java.lang.String msg,
java.lang.String shortMsg)
This is used to log an error when checking the given model.
|
protected java.util.List<SBMLError> listOfErrors
SBMLErrors
that are detected in the model.protected Model model
public ArraysConstraint()
public ArraysConstraint(Model model)
model
- public abstract void check()
public java.util.List<SBMLError> getListOfErrors()
protected void logFailure(int code, int severity, int category, int line, int column, java.lang.String pkg, java.lang.String msg, java.lang.String shortMsg)
code
- severity
- category
- line
- column
- pkg
- msg
- shortMsg
-