public abstract class ArraysConstraint extends 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 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()
Checks if the given model
doesn't violate the constraint specified by this
object.
|
List<SBMLError> |
getListOfErrors()
Gets the listOfErrors after checking the model.
|
protected void |
logFailure(int code,
int severity,
int category,
int line,
int column,
String pkg,
String msg,
String shortMsg)
Logs an error when checking the given model.
|
protected List<SBMLError> listOfErrors
SBMLErrors that are detected in the model.protected Model model
public abstract void check()
public List<SBMLError> getListOfErrors()
SBMLErrors after checking the model.protected void logFailure(int code,
int severity,
int category,
int line,
int column,
String pkg,
String msg,
String shortMsg)
code - the error codeseverity - the error severitycategory - the error categoryline - the line numbercolumn - the column numberpkg - the SBML package the SBMLError belong to.msg - the messageshortMsg - the short messageCopyright © 2009–2018. All rights reserved.