public class UniquenessValidator
extends org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccess
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
CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES
Constructor and Description |
---|
UniquenessValidator() |
Modifier and Type | Method and Description |
---|---|
void |
register(org.eclipse.xtext.validation.EValidatorRegistrar registrar) |
void |
validateThatAggregateNameIsUnique(Aggregate aggregate) |
void |
validateThatBoundedContextNameIsUnique(BoundedContext bc) |
void |
validateThatDomainObjectsAreUniqueInAggregate(Aggregate agg) |
void |
validateThatDomainObjectsAreUniqueInModule(Module module) |
void |
validateThatDomainObjectsAreUniqueInSubdomain(Subdomain subdomain) |
void |
validateThatModuleNameIsUnique(Module module) |
void |
validateThatUseCaseNameIsUnique(UseCase uc) |
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, 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
public void register(org.eclipse.xtext.validation.EValidatorRegistrar registrar)
register
in class org.eclipse.xtext.validation.AbstractInjectableValidator
public void validateThatBoundedContextNameIsUnique(BoundedContext bc)
public void validateThatModuleNameIsUnique(Module module)
public void validateThatAggregateNameIsUnique(Aggregate aggregate)
public void validateThatUseCaseNameIsUnique(UseCase uc)
public void validateThatDomainObjectsAreUniqueInAggregate(Aggregate agg)
public void validateThatDomainObjectsAreUniqueInModule(Module module)
public void validateThatDomainObjectsAreUniqueInSubdomain(Subdomain subdomain)