Package gov.nist.secauto.metaschema.core.model.constraint
Support for validating bound objects using Metaschema constraints.
Validation support is provided by
DefaultConstraintValidator
.
-
Interface Summary Interface Description IAllowedValue Represents an individual enumerated value associated with anIAllowedValuesConstraint
.IAllowedValuesConstraint Represents a rule requiring the value of a field or flag to match the name of one entry in a set of enumerated values.ICardinalityConstraint Represents a rule requiring a Metaschema assembly data instance to have elements with a minimum and/or maximum occurrence.IConstrained This marker interface is used to indicate the implementation class is a provider of constraints.IConstraint Represents a rule constraining the model of a Metaschema assembly, field or flag.IConstraint.ISource IConstraintSet IConstraintValidationHandler IConstraintValidator This interface provides an entry point for performing validations over Metapath items associated with a Metaschema model.IConstraintVisitor<T,R> IExpectConstraint Represents a rule requiring a Metaschema assembly, field, or flag data instance to pass a Metapath-based test.IIndex IIndexConstraint Represents a rule that generates a key-based index containing references to data items found in a Metaschema data instance.IIndexHasKeyConstraint Represents a rule that checks that a key generated for a Metaschema data object exists in a named index that was generated using anIIndexConstraint
.IKeyConstraint A common interface used for constraints oriented around key-based indexes.IKeyField Represents a component of a key used in a key-based index.IMatchesConstraint Represents a rule requiring the value of a field or flag to match a pattern and/or conform to an identified data type.IModelConstrained Represents a container of rules constraining the effective model of a Metaschema assembly data instance.IScopedContraints ITargetedConstaints IUniqueConstraint Represents a rule that requires all matching data items found in a Metaschema data instance to have a unique key.IValueConstrained Represents a container of rules constraining the effective model of a Metaschema field or flag data instance. -
Enum Summary Enum Description IAllowedValuesConstraint.Extensible IConstraint.ISource.SourceType IConstraint.Level The degree to which a constraint violation is significant.