public interface ConstraintDeclaration
AbstractConstraintDeclaration
instead. This abstract class has
already a working implementation of most of the methods and supports cachingAbstractConstraintDeclaration
Modifier and Type | Method and Description |
---|---|
void |
addErrorCodesForAttribute(java.util.Set<java.lang.Integer> set,
int level,
int version,
java.lang.String attributeName)
Adds all error codes which are needed for a check the attribute to the
set.
|
void |
addErrorCodesForCheck(java.util.Set<java.lang.Integer> set,
int level,
int version,
SBMLValidator.CHECK_CATEGORY category)
Adds all error codes which are needed for a check in this category to the
set.
|
<T> AnyConstraint<T> |
createConstraint(int errorCode)
Tries to create the constraint with the given error code
|
<T> ConstraintGroup<T> |
createConstraints(int[] errorCodes)
Tries to create the constraints with the given error codes
|
AnyConstraint<?> |
createConstraints(int level,
int version,
SBMLValidator.CHECK_CATEGORY category)
Creates all the constraints which are needed to validate this category
in the given level and version of SBML.
|
<T> ConstraintGroup<T> |
createConstraints(int level,
int version,
SBMLValidator.CHECK_CATEGORY[] categories)
Creates all the constraints which are needed to validate the categories
in the given level and version of SBML.
|
<T> ConstraintGroup<T> |
createConstraints(int level,
int version,
java.lang.String attributeName)
Creates all the constraints which are needed to validate the attribute
in the given level and version of SBML.
|
<T> ConstraintGroup<T> createConstraints(int level, int version, SBMLValidator.CHECK_CATEGORY[] categories)
level
- version
- categories
- ConstraintGroup
with at least 1 member or
null
if no constraint was loaded#createConstraints(int, int, CHECK_CATEGORY)
AnyConstraint<?> createConstraints(int level, int version, SBMLValidator.CHECK_CATEGORY category)
level
- version
- categories
- ConstraintGroup
with at least 1 member or
null
if no constraint was loaded#createConstraints(int, int, CHECK_CATEGORY[])
<T> ConstraintGroup<T> createConstraints(int level, int version, java.lang.String attributeName)
SBMLError.SEVERITY.ERROR
or
SBMLError.SEVERITY.FATAL
.level
- version
- categories
- ConstraintGroup
with at least 1 member or
null
if no constraint was loaded#createConstraints(int, int, CHECK_CATEGORY[])
void addErrorCodesForCheck(java.util.Set<java.lang.Integer> set, int level, int version, SBMLValidator.CHECK_CATEGORY category)
set
- level
- version
- category
- void addErrorCodesForAttribute(java.util.Set<java.lang.Integer> set, int level, int version, java.lang.String attributeName)
set
- level
- version
- category
- <T> ConstraintGroup<T> createConstraints(int[] errorCodes)
errorCodes
- ConstraintGroup
with at least 1 member or
null
if no constraint was loadedcreateConstraint(int)
<T> AnyConstraint<T> createConstraint(int errorCode)
errorCode
- null
if no constraint was loadedcreateConstraint(int)