org.eclipse.emf.ecp.internal.diagnostician
Class ECPValidatorRegistry
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<org.eclipse.emf.ecore.EPackage,Object>
org.eclipse.emf.ecore.impl.EValidatorRegistryImpl
org.eclipse.emf.ecp.internal.diagnostician.ECPValidatorRegistry
- All Implemented Interfaces:
- Serializable, Cloneable, Map<org.eclipse.emf.ecore.EPackage,Object>, org.eclipse.emf.ecore.EValidator.Registry
public final class ECPValidatorRegistry
- extends org.eclipse.emf.ecore.impl.EValidatorRegistryImpl
Registry
for ECPValidators
. The validators are retrieved
from the extension point.
- Author:
- jfaltermeier
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Method Summary |
boolean |
hasValidator(org.eclipse.emf.ecore.EClassifier classifier)
Check if the registry contains a validator for the given classifier. |
Methods inherited from class org.eclipse.emf.ecore.impl.EValidatorRegistryImpl |
containsKey, get, getEValidator |
Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
INSTANCE
public static final ECPValidatorRegistry INSTANCE
- The instance.
hasValidator
public boolean hasValidator(org.eclipse.emf.ecore.EClassifier classifier)
- Check if the registry contains a validator for the given classifier.
- Parameters:
classifier
- the classifier to check
- Returns:
true
if validator is registerd, false
otherwise
Copyright © 2014. All Rights Reserved.