Class McoreValidator

    • Field Detail

      • INSTANCE

        public static final McoreValidator INSTANCE
        The cached model package
      • DIAGNOSTIC_SOURCE

        public static final String DIAGNOSTIC_SOURCE
        A constant for the source of diagnostic codes from this package.
        See Also:
        Diagnostic.getSource(), Diagnostic.getCode(), Constant Field Values
      • IRRESOLVABLE_REFERENCE_VALUE__VALIDATE

        public static final int IRRESOLVABLE_REFERENCE_VALUE__VALIDATE
        The code for constraint 'Validate' of 'Irresolvable Reference Value'.
        See Also:
        Constant Field Values
      • DIAGNOSTIC_CODE_COUNT

        protected static final int DIAGNOSTIC_CODE_COUNT
        A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • McoreValidator

        public McoreValidator()
        Creates an instance of the switch.
    • Method Detail

      • getEPackage

        protected org.eclipse.emf.ecore.EPackage getEPackage()
        Returns the package of this validator switch.
        Overrides:
        getEPackage in class org.eclipse.emf.ecore.util.EObjectValidator
      • validate

        protected boolean validate​(int classifierID,
                                   Object value,
                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map<Object,​Object> context)
        Calls validateXXX for the corresponding classifier of the model.
        Overrides:
        validate in class org.eclipse.emf.ecore.util.EObjectValidator
      • validateEnvironmental

        public boolean validateEnvironmental​(Environmental environmental,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateLocalStringMapEntry

        public boolean validateLocalStringMapEntry​(Map.Entry<?,​?> localStringMapEntry,
                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateNamedElement

        public boolean validateNamedElement​(NamedElement namedElement,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateDuallyNamedElement

        public boolean validateDuallyNamedElement​(DuallyNamedElement duallyNamedElement,
                                                  org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                  Map<Object,​Object> context)
      • validateVersionedItem

        public boolean validateVersionedItem​(VersionedItem versionedItem,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateTypeItem

        public boolean validateTypeItem​(TypeItem typeItem,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateType

        public boolean validateType​(Type type,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateCtor

        public boolean validateCtor​(Ctor ctor,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateFakeCtor

        public boolean validateFakeCtor​(FakeCtor fakeCtor,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateFakeParameter

        public boolean validateFakeParameter​(FakeParameter fakeParameter,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateTypeSet

        public boolean validateTypeSet​(TypeSet typeSet,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateNumberQualifiers

        public boolean validateNumberQualifiers​(NumberQualifiers numberQualifiers,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateStringQualifiers

        public boolean validateStringQualifiers​(StringQualifiers stringQualifiers,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateDateQualifiers

        public boolean validateDateQualifiers​(DateQualifiers dateQualifiers,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateBinaryQualifiers

        public boolean validateBinaryQualifiers​(BinaryQualifiers binaryQualifiers,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateTypeDescription

        public boolean validateTypeDescription​(TypeDescription typeDescription,
                                               org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateValue

        public boolean validateValue​(Value value,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateTypeValue

        public boolean validateTypeValue​(TypeValue typeValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateTypeDescriptionValue

        public boolean validateTypeDescriptionValue​(TypeDescriptionValue typeDescriptionValue,
                                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateUndefinedValue

        public boolean validateUndefinedValue​(UndefinedValue undefinedValue,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateNullValue

        public boolean validateNullValue​(NullValue nullValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateNumberValue

        public boolean validateNumberValue​(NumberValue numberValue,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateBooleanValue

        public boolean validateBooleanValue​(BooleanValue booleanValue,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateStringValue

        public boolean validateStringValue​(StringValue stringValue,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateDateValue

        public boolean validateDateValue​(DateValue dateValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateBinaryValue

        public boolean validateBinaryValue​(BinaryValue binaryValue,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateReferenceValue

        public boolean validateReferenceValue​(ReferenceValue referenceValue,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateEnumValue

        public boolean validateEnumValue​(EnumValue enumValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateSysEnumValue

        public boolean validateSysEnumValue​(SysEnumValue sysEnumValue,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateColorValue

        public boolean validateColorValue​(ColorValue colorValue,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateFontValue

        public boolean validateFontValue​(FontValue fontValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateLineValue

        public boolean validateLineValue​(LineValue lineValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateBorderValue

        public boolean validateBorderValue​(BorderValue borderValue,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateIrresolvableReferenceValue

        public boolean validateIrresolvableReferenceValue​(IrresolvableReferenceValue irresolvableReferenceValue,
                                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
      • validateIrresolvableReferenceValue_validate

        public boolean validateIrresolvableReferenceValue_validate​(IrresolvableReferenceValue irresolvableReferenceValue,
                                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                                   Map<Object,​Object> context)
        Validates the validate constraint of 'Irresolvable Reference Value'.
      • validateValueList

        public boolean validateValueList​(ValueList valueList,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateFixedArrayValue

        public boolean validateFixedArrayValue​(FixedArrayValue fixedArrayValue,
                                               org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateTypedValueListItem

        public boolean validateTypedValueListItem​(TypedValueListItem typedValueListItem,
                                                  org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                  Map<Object,​Object> context)
      • validateTypedValueList

        public boolean validateTypedValueList​(TypedValueList typedValueList,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateStructureProperty

        public boolean validateStructureProperty​(StructureProperty structureProperty,
                                                 org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateStructure

        public boolean validateStructure​(Structure structure,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateUuidValue

        public boolean validateUuidValue​(UuidValue uuidValue,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateRuntimeValue

        public boolean validateRuntimeValue​(RuntimeValue runtimeValue,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateStandardBeginningDate

        public boolean validateStandardBeginningDate​(StandardBeginningDate standardBeginningDate,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateStandardBeginningDateValue

        public boolean validateStandardBeginningDateValue​(StandardBeginningDateValue standardBeginningDateValue,
                                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
      • validateStandardPeriod

        public boolean validateStandardPeriod​(StandardPeriod standardPeriod,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateStandardPeriodValue

        public boolean validateStandardPeriodValue​(StandardPeriodValue standardPeriodValue,
                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateContextDef

        public boolean validateContextDef​(ContextDef contextDef,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateContextDefWithRefItem

        public boolean validateContextDefWithRefItem​(ContextDefWithRefItem contextDefWithRefItem,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateProperty

        public boolean validateProperty​(Property property,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateTypeContainer

        public boolean validateTypeContainer​(TypeContainer typeContainer,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateTypeContainerRef

        public boolean validateTypeContainerRef​(TypeContainerRef typeContainerRef,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateTypeContainerDef

        public boolean validateTypeContainerDef​(TypeContainerDef typeContainerDef,
                                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateDerivedProperty

        public boolean validateDerivedProperty​(DerivedProperty derivedProperty,
                                               org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateContainingSourceDerivedProperty

        public boolean validateContainingSourceDerivedProperty​(ContainingSourceDerivedProperty containingSourceDerivedProperty,
                                                               org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                               Map<Object,​Object> context)
      • validateAbstractMethod

        public boolean validateAbstractMethod​(AbstractMethod abstractMethod,
                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateMethod

        public boolean validateMethod​(Method method,
                                      org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map<Object,​Object> context)
      • validateEvent

        public boolean validateEvent​(Event event,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateParamSet

        public boolean validateParamSet​(ParamSet paramSet,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateParameter

        public boolean validateParameter​(Parameter parameter,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateGeneralContextDef

        public boolean validateGeneralContextDef​(GeneralContextDef generalContextDef,
                                                 org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateField

        public boolean validateField​(Field field,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateDerivedField

        public boolean validateDerivedField​(DerivedField derivedField,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateFieldSource

        public boolean validateFieldSource​(FieldSource fieldSource,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateStandardTabularPartSource

        public boolean validateStandardTabularPartSource​(StandardTabularPartSource standardTabularPartSource,
                                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
      • validateStandardTabularPart

        public boolean validateStandardTabularPart​(StandardTabularPart standardTabularPart,
                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateCommand

        public boolean validateCommand​(Command command,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateCommandRef

        public boolean validateCommandRef​(CommandRef commandRef,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateCommandGroup

        public boolean validateCommandGroup​(CommandGroup commandGroup,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateStandardCommandGroup

        public boolean validateStandardCommandGroup​(StandardCommandGroup standardCommandGroup,
                                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validatePoint

        public boolean validatePoint​(Point point,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validatePicture

        public boolean validatePicture​(Picture picture,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validatePictureRef

        public boolean validatePictureRef​(PictureRef pictureRef,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validatePictureDef

        public boolean validatePictureDef​(PictureDef pictureDef,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateColor

        public boolean validateColor​(Color color,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateColorDef

        public boolean validateColorDef​(ColorDef colorDef,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateColorRef

        public boolean validateColorRef​(ColorRef colorRef,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateStyleAppearanceItem

        public boolean validateStyleAppearanceItem​(StyleAppearanceItem styleAppearanceItem,
                                                   org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateStyleColor

        public boolean validateStyleColor​(StyleColor styleColor,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateStyleBorder

        public boolean validateStyleBorder​(StyleBorder styleBorder,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateStyleFont

        public boolean validateStyleFont​(StyleFont styleFont,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateBorder

        public boolean validateBorder​(Border border,
                                      org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map<Object,​Object> context)
      • validateBorderDef

        public boolean validateBorderDef​(BorderDef borderDef,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateBorderRef

        public boolean validateBorderRef​(BorderRef borderRef,
                                         org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateFont

        public boolean validateFont​(Font font,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateMutableFont

        public boolean validateMutableFont​(MutableFont mutableFont,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateFontDef

        public boolean validateFontDef​(FontDef fontDef,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateFontRef

        public boolean validateFontRef​(FontRef fontRef,
                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateAbstractLine

        public boolean validateAbstractLine​(AbstractLine abstractLine,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateLine

        public boolean validateLine​(Line line,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateHelp

        public boolean validateHelp​(Help help,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateHelpPage

        public boolean validateHelpPage​(HelpPage helpPage,
                                        org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateRefContextDelegatingContextDef

        public boolean validateRefContextDelegatingContextDef​(RefContextDelegatingContextDef refContextDelegatingContextDef,
                                                              org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                              Map<Object,​Object> context)
      • validateQName

        public boolean validateQName​(QName qName,
                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateDateFractions

        public boolean validateDateFractions​(DateFractions dateFractions,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateStandardBeginningDateVariant

        public boolean validateStandardBeginningDateVariant​(StandardBeginningDateVariant standardBeginningDateVariant,
                                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                            Map<Object,​Object> context)
      • validateStandardPeriodVariant

        public boolean validateStandardPeriodVariant​(StandardPeriodVariant standardPeriodVariant,
                                                     org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateSourceType

        public boolean validateSourceType​(SourceType sourceType,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateButtonRepresentation

        public boolean validateButtonRepresentation​(ButtonRepresentation buttonRepresentation,
                                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateCommandParameterUseMode

        public boolean validateCommandParameterUseMode​(CommandParameterUseMode commandParameterUseMode,
                                                       org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                       Map<Object,​Object> context)
      • validateCommandGroupCategory

        public boolean validateCommandGroupCategory​(CommandGroupCategory commandGroupCategory,
                                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateBorderStyle

        public boolean validateBorderStyle​(BorderStyle borderStyle,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateUuid

        public boolean validateUuid​(UUID uuid,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateCompositeId

        public boolean validateCompositeId​(CompositeId compositeId,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateDate

        public boolean validateDate​(Date date,
                                    org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map<Object,​Object> context)
      • validateEnvironment

        public boolean validateEnvironment​(Environment environment,
                                           org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateEnvironments

        public boolean validateEnvironments​(Environments environments,
                                            org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateEnumerator

        public boolean validateEnumerator​(org.eclipse.emf.common.util.Enumerator enumerator,
                                          org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • getResourceLocator

        public org.eclipse.emf.common.util.ResourceLocator getResourceLocator()
        Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
        Overrides:
        getResourceLocator in class org.eclipse.emf.ecore.util.EObjectValidator