Package org.contextmapper.dsl.validation
Class ContextMapSemanticsValidator
- java.lang.Object
-
- org.eclipse.xtext.validation.AbstractInjectableValidator
-
- org.eclipse.xtext.validation.AbstractDeclarativeValidator
-
- org.contextmapper.dsl.validation.ContextMapSemanticsValidator
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator
,org.eclipse.xtext.validation.ValidationMessageAcceptor
public class ContextMapSemanticsValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccess
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
-
-
Constructor Summary
Constructors Constructor Description ContextMapSemanticsValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
register(org.eclipse.xtext.validation.EValidatorRegistrar registrar)
void
validateBoundedContextTypes(ContextMap map)
void
validateThatExposedAggregateIsPartOfUpstreamContext(ContextMap map)
void
validateThatRelationshipContextArePartOfMap(ContextMap map)
-
Methods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getCancelIndicator, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warning
-
-
-
-
Method Detail
-
register
public void register(org.eclipse.xtext.validation.EValidatorRegistrar registrar)
- Overrides:
register
in classorg.eclipse.xtext.validation.AbstractInjectableValidator
-
validateThatRelationshipContextArePartOfMap
public void validateThatRelationshipContextArePartOfMap(ContextMap map)
-
validateThatExposedAggregateIsPartOfUpstreamContext
public void validateThatExposedAggregateIsPartOfUpstreamContext(ContextMap map)
-
validateBoundedContextTypes
public void validateBoundedContextTypes(ContextMap map)
-
-