Class AbstractConstraintSet

java.lang.Object
dev.metaschema.core.model.constraint.AbstractConstraintSet
All Implemented Interfaces:
IConstraintSet
Direct Known Subclasses:
MetaConstraintSet

public abstract class AbstractConstraintSet extends Object implements IConstraintSet
A common implementation for a set of constraints targeted at the contents of a Metaschema module.
  • Constructor Details

    • AbstractConstraintSet

      public AbstractConstraintSet(@NonNull ISource source)
      Construct a new constraint set.
      Parameters:
      source - the constraint source information
  • Method Details

    • getSource

      public ISource getSource()
      Description copied from interface: IConstraintSet
      Get information about where the constraint set was sourced from.
      Specified by:
      getSource in interface IConstraintSet
      Returns:
      the source information