ArraysMathCheck, DimensionArrayDimCheck, DimensionIDCheck, DimensionSizeCheck, IndexArrayDimCheck, IndexAttributesCheck, SBaseWithDimensionCheckpublic 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 | Description |
|---|---|---|
protected java.util.List<org.sbml.jsbml.SBMLError> |
listOfErrors |
This is used to track
SBMLErrors that are detected in the model. |
protected org.sbml.jsbml.Model |
model |
A Model to be checked.
|
| Constructor | Description |
|---|---|
ArraysConstraint() |
Constructs an ArraysConstraint.
|
ArraysConstraint(org.sbml.jsbml.Model model) |
Constructs an ArraysConstraint with a model.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
check() |
Checks if the given model
doesn't violate the constraint specified by this
object.
|
java.util.List<org.sbml.jsbml.SBMLError> |
getListOfErrors() |
Gets 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) |
Logs an error when checking the given model.
|
protected java.util.List<org.sbml.jsbml.SBMLError> listOfErrors
SBMLErrors that are detected in the model.protected org.sbml.jsbml.Model model
public ArraysConstraint()
public ArraysConstraint(org.sbml.jsbml.Model model)
model - a core Modelpublic abstract void check()
public java.util.List<org.sbml.jsbml.SBMLError> getListOfErrors()
SBMLErrors 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)
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–2022. All rights reserved.