org.eclipse.incquery.validation.runtime

## Class ConstraintExtensionRegistry

- java.lang.Object
- - org.eclipse.incquery.validation.runtime.ConstraintExtensionRegistry

-     public class ConstraintExtensionRegistry
      extends java.lang.Object

  The constraint extension registry is singleton utility for accessing the constraint specifications registered through extensions (see EMF-IncQuery @Constraint annotation)
  Author:
    Abel Hegedus

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Set<IConstraintSpecification>` | `getConstraintSpecificationsForEditorId(java.lang.String editorId)` Returns the registered constraint specifications for a particular editor Id.
    `static boolean` | `isConstraintSpecificationsRegisteredForEditorId(java.lang.String editorId)` Returns whether there are constraint specifications registered for an editor Id.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### isConstraintSpecificationsRegisteredForEditorId

          public static boolean isConstraintSpecificationsRegisteredForEditorId(java.lang.String editorId)

      Returns whether there are constraint specifications registered for an editor Id.
      Parameters:
        `editorId` - The editor Id which should be checked
      Returns:
        `true` if there are registered constraint specifications

    - #### getConstraintSpecificationsForEditorId

          public static java.util.Set<IConstraintSpecification> getConstraintSpecificationsForEditorId(java.lang.String editorId)

      Returns the registered constraint specifications for a particular editor Id.
      Parameters:
        `editorId` - The editor Id for which the constraint specifications should be retrieved.
      Returns:
        The Set of constraint specifications registered.