Package com._1c.g5.v8.dt.md.validation
Class MdValidator
- java.lang.Object
-
- org.eclipse.xtext.validation.AbstractInjectableValidator
-
- org.eclipse.xtext.validation.AbstractDeclarativeValidator
-
- com._1c.g5.modeling.xtext.validation.AbstractModelDeclarativeValidator
-
- com._1c.g5.v8.dt.md.validation.MdValidator
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator
,org.eclipse.xtext.validation.ValidationMessageAcceptor
public class MdValidator extends AbstractModelDeclarativeValidator
Declarative validator for Md.
-
-
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 MdValidator()
-
Method Summary
-
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
-
checkCommomModuleName
public void checkCommomModuleName(CommonModule commonModule)
-
checkCommomPictureUniqueName
public void checkCommomPictureUniqueName(CommonPicture commonPicture)
-
checkConfigurationCompatibilityMode
public void checkConfigurationCompatibilityMode(Configuration configuration)
-
checkMissingAssignments
public void checkMissingAssignments(MdObject mdObject)
-
checkStyleItemUniqName
public void checkStyleItemUniqName(StyleItem styleItem)
-
checkTypeDescriptionTypes
public void checkTypeDescriptionTypes(TypeDescription typeDesc)
-
checkUniqueMdObjectName
public void checkUniqueMdObjectName(MdObject mdObject)
-
checkSubsystem
public void checkSubsystem(Subsystem subsystem)
-
checkWSReference
public void checkWSReference(WSReference wsRef)
-
checkSequenceDimension
public void checkSequenceDimension(SequenceDimension sequenceDimension)
-
checkEventSubscriptionHandler
public void checkEventSubscriptionHandler(EventSubscription eventSubscription)
-
checkScheduledJobMethod
public void checkScheduledJobMethod(ScheduledJob scheduledJob)
-
checkNameInDataSource
public void checkNameInDataSource(Table table)
-
checkNameInDataSource
public void checkNameInDataSource(Cube cube)
-
checkNameInDataSource
public void checkNameInDataSource(DimensionTable table)
-
checkNameInDataSource
public void checkNameInDataSource(Field field)
-
checkNameInDataSource
public void checkNameInDataSource(Resource resource)
-
checkDimensionType
public void checkDimensionType(Dimension dimension)
-
checkTable
public void checkTable(Table table)
-
checkChoiceParameterLink
public void checkChoiceParameterLink(ChoiceParameterLink choiceParameterLink)
-
register
public void register(org.eclipse.xtext.validation.EValidatorRegistrar registrar)
- Overrides:
register
in classorg.eclipse.xtext.validation.AbstractInjectableValidator
-
getCurrentLanguage
protected String getCurrentLanguage(Map<Object,Object> context, org.eclipse.emf.ecore.EObject eObject)
- Overrides:
getCurrentLanguage
in classAbstractModelDeclarativeValidator
-
getEPackages
protected List<org.eclipse.emf.ecore.EPackage> getEPackages()
Description copied from class:AbstractModelDeclarativeValidator
Returns list ofEPackage
s for wich this validotor will be registered.- Specified by:
getEPackages
in classAbstractModelDeclarativeValidator
-
-