Interface IConstraintSet
-
- All Known Implementing Classes:
DefaultConstraintSet
public interface IConstraintSet
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static void
applyConstraintSetToModule(Set<IConstraintSet> constraintSets, IModule module)
Collection<IConstraintSet>
getImportedConstraintSets()
Map<QName,List<IScopedContraints>>
getScopedContraints()
Get the set of Metaschema scoped constraints to apply by aQName
formed from the Metaschema namespace and short name.static List<ITargetedConstaints>
getTargetedConstraintsForMetaschema(Set<IConstraintSet> constraintSets, IModule module)
Stream<ITargetedConstaints>
getTargetedConstraintsForModule(IModule module)
static Set<IConstraintSet>
resolveConstraintSets(Set<IConstraintSet> constraintSets)
-
-
-
Method Detail
-
resolveConstraintSets
@NonNull static Set<IConstraintSet> resolveConstraintSets(@NonNull Set<IConstraintSet> constraintSets)
-
getTargetedConstraintsForMetaschema
@NonNull static List<ITargetedConstaints> getTargetedConstraintsForMetaschema(@NonNull Set<IConstraintSet> constraintSets, @NonNull IModule module)
-
getTargetedConstraintsForModule
@NonNull Stream<ITargetedConstaints> getTargetedConstraintsForModule(@NonNull IModule module)
-
applyConstraintSetToModule
static void applyConstraintSetToModule(@NonNull Set<IConstraintSet> constraintSets, @NonNull IModule module) throws MetaschemaException
- Throws:
MetaschemaException
-
getImportedConstraintSets
Collection<IConstraintSet> getImportedConstraintSets()
-
getScopedContraints
@NonNull Map<QName,List<IScopedContraints>> getScopedContraints()
Get the set of Metaschema scoped constraints to apply by aQName
formed from the Metaschema namespace and short name.- Returns:
- the mapping of QName to scoped constraints
-
-