Class PrologmodelValidator

    • Field Detail

      • INSTANCE

        public static final PrologmodelValidator INSTANCE
        The cached model package
        Generated class or method.
      • 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
        Generated class or method.
      • SYSTEM__ATTRIBUTE_NAMES_UNIQUE__EEXPRESSION

        protected static final String SYSTEM__ATTRIBUTE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the attributeNamesUnique constraint of 'System'.
        See Also:
        Constant Field Values
        Generated class or method.
      • SYSTEM__DATATYPE_NAMES_UNIQUE__EEXPRESSION

        protected static final String SYSTEM__DATATYPE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the datatypeNamesUnique constraint of 'System'.
        See Also:
        Constant Field Values
        Generated class or method.
      • SYSTEM__PROPERTY_NAMES_UNIQUE__EEXPRESSION

        protected static final String SYSTEM__PROPERTY_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the propertyNamesUnique constraint of 'System'.
        See Also:
        Constant Field Values
        Generated class or method.
      • SYSTEM__VALUE_SET_TYPE_NAMES_UNIQUE__EEXPRESSION

        protected static final String SYSTEM__VALUE_SET_TYPE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the valueSetTypeNamesUnique constraint of 'System'.
        See Also:
        Constant Field Values
        Generated class or method.
      • SYSTEM__OPERATION_AND_SYSTEM_USAGE_NAMES_UNIQUE__EEXPRESSION

        protected static final String SYSTEM__OPERATION_AND_SYSTEM_USAGE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the operationAndSystemUsageNamesUnique constraint of 'System'.
        See Also:
        Constant Field Values
        Generated class or method.
      • OPERATION__PARAMETER_NAMES_UNIQUE__EEXPRESSION

        protected static final String OPERATION__PARAMETER_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the parameterNamesUnique constraint of 'Operation'.
        See Also:
        Constant Field Values
        Generated class or method.
      • OPERATION__RETURN_VALUE_NAMES_UNIQUE__EEXPRESSION

        protected static final String OPERATION__RETURN_VALUE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the returnValueNamesUnique constraint of 'Operation'.
        See Also:
        Constant Field Values
        Generated class or method.
      • OPERATION__STATE_NAMES_UNIQUE__EEXPRESSION

        protected static final String OPERATION__STATE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the stateNamesUnique constraint of 'Operation'.
        See Also:
        Constant Field Values
        Generated class or method.
      • OPERATION__NO_DUPLICATE_PROPERTY_DEFINITIONS__EEXPRESSION

        protected static final String OPERATION__NO_DUPLICATE_PROPERTY_DEFINITIONS__EEXPRESSION
        The cached validation expression for the noDuplicatePropertyDefinitions constraint of 'Operation'.
        See Also:
        Constant Field Values
        Generated class or method.
      • OPERATION__NO_CYCLES_IN_CALL_GRAPH__EEXPRESSION

        protected static final String OPERATION__NO_CYCLES_IN_CALL_GRAPH__EEXPRESSION
        The cached validation expression for the noCyclesInCallGraph constraint of 'Operation'.
        See Also:
        Constant Field Values
        Generated class or method.
      • OPERATION__ONLY_CONSTANT_DEFAULT_STATE_DEFINITIONS__EEXPRESSION

        protected static final String OPERATION__ONLY_CONSTANT_DEFAULT_STATE_DEFINITIONS__EEXPRESSION
        The cached validation expression for the onlyConstantDefaultStateDefinitions constraint of 'Operation'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PROPERTY_DEFINITION__VALUES_PART_OF_PROPERTY_TYPE__EEXPRESSION

        protected static final String PROPERTY_DEFINITION__VALUES_PART_OF_PROPERTY_TYPE__EEXPRESSION
        The cached validation expression for the valuesPartOfPropertyType constraint of 'Property Definition'.
        See Also:
        Constant Field Values
        Generated class or method.
      • VARIABLE_ASSIGNMENT__IS_VARIABLE_VALID__EEXPRESSION

        protected static final String VARIABLE_ASSIGNMENT__IS_VARIABLE_VALID__EEXPRESSION
        The cached validation expression for the isVariableValid constraint of 'Variable Assignment'.
        See Also:
        Constant Field Values
        Generated class or method.
      • VARIABLE_ASSIGNMENT__IS_ATTRIBUTE_VALID__EEXPRESSION

        protected static final String VARIABLE_ASSIGNMENT__IS_ATTRIBUTE_VALID__EEXPRESSION
        The cached validation expression for the isAttributeValid constraint of 'Variable Assignment'.
        See Also:
        Constant Field Values
        Generated class or method.
      • VARIABLE_ASSIGNMENT__IS_VALUE_VALID__EEXPRESSION

        protected static final String VARIABLE_ASSIGNMENT__IS_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isValueValid constraint of 'Variable Assignment'.
        See Also:
        Constant Field Values
        Generated class or method.
      • VALUE_SET_TYPE__VALUE_NAMES_UNIQUE__EEXPRESSION

        protected static final String VALUE_SET_TYPE__VALUE_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the valueNamesUnique constraint of 'Value Set Type'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PARAMETER_REF__IS_PARAMETER_VALID__EEXPRESSION

        protected static final String PARAMETER_REF__IS_PARAMETER_VALID__EEXPRESSION
        The cached validation expression for the isParameterValid constraint of 'Parameter Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PARAMETER_REF__IS_ATTRIBUTE_VALID__EEXPRESSION

        protected static final String PARAMETER_REF__IS_ATTRIBUTE_VALID__EEXPRESSION
        The cached validation expression for the isAttributeValid constraint of 'Parameter Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PARAMETER_REF__IS_VALUE_VALID__EEXPRESSION

        protected static final String PARAMETER_REF__IS_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isValueValid constraint of 'Parameter Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PROPERTY_REF__IS_PROPERTY_VALID__EEXPRESSION

        protected static final String PROPERTY_REF__IS_PROPERTY_VALID__EEXPRESSION
        The cached validation expression for the isPropertyValid constraint of 'Property Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PROPERTY_REF__IS_VALUE_VALID__EEXPRESSION

        protected static final String PROPERTY_REF__IS_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isValueValid constraint of 'Property Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • CALLER__CALL_NAMES_UNIQUE__EEXPRESSION

        protected static final String CALLER__CALL_NAMES_UNIQUE__EEXPRESSION
        The cached validation expression for the callNamesUnique constraint of 'Caller'.
        See Also:
        Constant Field Values
        Generated class or method.
      • RETURN_VALUE_REF__IS_CALL_VALID__EEXPRESSION

        protected static final String RETURN_VALUE_REF__IS_CALL_VALID__EEXPRESSION
        The cached validation expression for the isCallValid constraint of 'Return Value Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • RETURN_VALUE_REF__IS_RETURN_VALUE_VALID__EEXPRESSION

        protected static final String RETURN_VALUE_REF__IS_RETURN_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isReturnValueValid constraint of 'Return Value Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • RETURN_VALUE_REF__IS_ATTRIBUTE_VALID__EEXPRESSION

        protected static final String RETURN_VALUE_REF__IS_ATTRIBUTE_VALID__EEXPRESSION
        The cached validation expression for the isAttributeValid constraint of 'Return Value Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • RETURN_VALUE_REF__IS_VALUE_VALID__EEXPRESSION

        protected static final String RETURN_VALUE_REF__IS_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isValueValid constraint of 'Return Value Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • STATE_REF__IS_STATE_VARIABLE_VALID__EEXPRESSION

        protected static final String STATE_REF__IS_STATE_VARIABLE_VALID__EEXPRESSION
        The cached validation expression for the isStateVariableValid constraint of 'State Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • STATE_REF__IS_ATTRIBUTE_VALID__EEXPRESSION

        protected static final String STATE_REF__IS_ATTRIBUTE_VALID__EEXPRESSION
        The cached validation expression for the isAttributeValid constraint of 'State Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • STATE_REF__IS_VALUE_VALID__EEXPRESSION

        protected static final String STATE_REF__IS_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isValueValid constraint of 'State Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • DEFAULT_STATE_REF__IS_STATE_VARIABLE_VALID__EEXPRESSION

        protected static final String DEFAULT_STATE_REF__IS_STATE_VARIABLE_VALID__EEXPRESSION
        The cached validation expression for the isStateVariableValid constraint of 'Default State Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • DEFAULT_STATE_REF__IS_ATTRIBUTE_VALID__EEXPRESSION

        protected static final String DEFAULT_STATE_REF__IS_ATTRIBUTE_VALID__EEXPRESSION
        The cached validation expression for the isAttributeValid constraint of 'Default State Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • DEFAULT_STATE_REF__IS_VALUE_VALID__EEXPRESSION

        protected static final String DEFAULT_STATE_REF__IS_VALUE_VALID__EEXPRESSION
        The cached validation expression for the isValueValid constraint of 'Default State Ref'.
        See Also:
        Constant Field Values
        Generated class or method.
      • MIN_STATIC__LEFT_HAND_SIDE_IS_VALUE_WILDCARD__EEXPRESSION

        protected static final String MIN_STATIC__LEFT_HAND_SIDE_IS_VALUE_WILDCARD__EEXPRESSION
        The cached validation expression for the leftHandSideIsValueWildcard constraint of 'Min Static'.
        See Also:
        Constant Field Values
        Generated class or method.
      • MIN_STATIC__LEFT_HAND_SIDE_IS_NO_ATTRIBUTE_WILDCARD__EEXPRESSION

        protected static final String MIN_STATIC__LEFT_HAND_SIDE_IS_NO_ATTRIBUTE_WILDCARD__EEXPRESSION
        The cached validation expression for the leftHandSideIsNoAttributeWildcard constraint of 'Min Static'.
        See Also:
        Constant Field Values
        Generated class or method.
      • MIN_STATIC__OPERANDS_ARE_ATTRIBUTE_WILDCARDS__EEXPRESSION

        protected static final String MIN_STATIC__OPERANDS_ARE_ATTRIBUTE_WILDCARDS__EEXPRESSION
        The cached validation expression for the operandsAreAttributeWildcards constraint of 'Min Static'.
        See Also:
        Constant Field Values
        Generated class or method.
      • MIN_STATIC__VALUE_MATCHES_ASSIGNMENT_TYPE__EEXPRESSION

        protected static final String MIN_STATIC__VALUE_MATCHES_ASSIGNMENT_TYPE__EEXPRESSION
        The cached validation expression for the valueMatchesAssignmentType constraint of 'Min Static'.
        See Also:
        Constant Field Values
        Generated class or method.
    • Constructor Detail

      • PrologmodelValidator

        public PrologmodelValidator()
        Creates an instance of the switch.
        Generated class or method.
    • Method Detail

      • validateSystem_attributeNamesUnique

        public boolean validateSystem_attributeNamesUnique​(System system,
                                                           DiagnosticChain diagnostics,
                                                           Map<Object,​Object> context)
        Validates the attributeNamesUnique constraint of 'System'.
        Generated class or method.
      • validateSystem_datatypeNamesUnique

        public boolean validateSystem_datatypeNamesUnique​(System system,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
        Validates the datatypeNamesUnique constraint of 'System'.
        Generated class or method.
      • validateSystem_propertyNamesUnique

        public boolean validateSystem_propertyNamesUnique​(System system,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
        Validates the propertyNamesUnique constraint of 'System'.
        Generated class or method.
      • validateSystem_valueSetTypeNamesUnique

        public boolean validateSystem_valueSetTypeNamesUnique​(System system,
                                                              DiagnosticChain diagnostics,
                                                              Map<Object,​Object> context)
        Validates the valueSetTypeNamesUnique constraint of 'System'.
        Generated class or method.
      • validateSystem_operationAndSystemUsageNamesUnique

        public boolean validateSystem_operationAndSystemUsageNamesUnique​(System system,
                                                                         DiagnosticChain diagnostics,
                                                                         Map<Object,​Object> context)
        Validates the operationAndSystemUsageNamesUnique constraint of 'System'.
        Generated class or method.
      • validateOperation_parameterNamesUnique

        public boolean validateOperation_parameterNamesUnique​(Operation operation,
                                                              DiagnosticChain diagnostics,
                                                              Map<Object,​Object> context)
        Validates the parameterNamesUnique constraint of 'Operation'.
        Generated class or method.
      • validateOperation_returnValueNamesUnique

        public boolean validateOperation_returnValueNamesUnique​(Operation operation,
                                                                DiagnosticChain diagnostics,
                                                                Map<Object,​Object> context)
        Validates the returnValueNamesUnique constraint of 'Operation'.
        Generated class or method.
      • validateOperation_stateNamesUnique

        public boolean validateOperation_stateNamesUnique​(Operation operation,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
        Validates the stateNamesUnique constraint of 'Operation'.
        Generated class or method.
      • validateOperation_noDuplicatePropertyDefinitions

        public boolean validateOperation_noDuplicatePropertyDefinitions​(Operation operation,
                                                                        DiagnosticChain diagnostics,
                                                                        Map<Object,​Object> context)
        Validates the noDuplicatePropertyDefinitions constraint of 'Operation'.
        Generated class or method.
      • validateOperation_noCyclesInCallGraph

        public boolean validateOperation_noCyclesInCallGraph​(Operation operation,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the noCyclesInCallGraph constraint of 'Operation'.
        Generated class or method.
      • validateOperation_onlyConstantDefaultStateDefinitions

        public boolean validateOperation_onlyConstantDefaultStateDefinitions​(Operation operation,
                                                                             DiagnosticChain diagnostics,
                                                                             Map<Object,​Object> context)
        Validates the onlyConstantDefaultStateDefinitions constraint of 'Operation'.
        Generated class or method.
      • validatePropertyDefinition_valuesPartOfPropertyType

        public boolean validatePropertyDefinition_valuesPartOfPropertyType​(PropertyDefinition propertyDefinition,
                                                                           DiagnosticChain diagnostics,
                                                                           Map<Object,​Object> context)
        Validates the valuesPartOfPropertyType constraint of 'Property Definition'.
        Generated class or method.
      • validateVariableAssignment_isVariableValid

        public boolean validateVariableAssignment_isVariableValid​(VariableAssignment variableAssignment,
                                                                  DiagnosticChain diagnostics,
                                                                  Map<Object,​Object> context)
        Validates the isVariableValid constraint of 'Variable Assignment'.
        Generated class or method.
      • validateVariableAssignment_isAttributeValid

        public boolean validateVariableAssignment_isAttributeValid​(VariableAssignment variableAssignment,
                                                                   DiagnosticChain diagnostics,
                                                                   Map<Object,​Object> context)
        Validates the isAttributeValid constraint of 'Variable Assignment'.
        Generated class or method.
      • validateVariableAssignment_isValueValid

        public boolean validateVariableAssignment_isValueValid​(VariableAssignment variableAssignment,
                                                               DiagnosticChain diagnostics,
                                                               Map<Object,​Object> context)
        Validates the isValueValid constraint of 'Variable Assignment'.
        Generated class or method.
      • validateValueSetType_valueNamesUnique

        public boolean validateValueSetType_valueNamesUnique​(ValueSetType valueSetType,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the valueNamesUnique constraint of 'Value Set Type'.
        Generated class or method.
      • validateParameterRef_isParameterValid

        public boolean validateParameterRef_isParameterValid​(ParameterRef parameterRef,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the isParameterValid constraint of 'Parameter Ref'.
        Generated class or method.
      • validateParameterRef_isAttributeValid

        public boolean validateParameterRef_isAttributeValid​(ParameterRef parameterRef,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the isAttributeValid constraint of 'Parameter Ref'.
        Generated class or method.
      • validateParameterRef_isValueValid

        public boolean validateParameterRef_isValueValid​(ParameterRef parameterRef,
                                                         DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
        Validates the isValueValid constraint of 'Parameter Ref'.
        Generated class or method.
      • validatePropertyRef_isPropertyValid

        public boolean validatePropertyRef_isPropertyValid​(PropertyRef propertyRef,
                                                           DiagnosticChain diagnostics,
                                                           Map<Object,​Object> context)
        Validates the isPropertyValid constraint of 'Property Ref'.
        Generated class or method.
      • validatePropertyRef_isValueValid

        public boolean validatePropertyRef_isValueValid​(PropertyRef propertyRef,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
        Validates the isValueValid constraint of 'Property Ref'.
        Generated class or method.
      • validateCaller_callNamesUnique

        public boolean validateCaller_callNamesUnique​(Caller caller,
                                                      DiagnosticChain diagnostics,
                                                      Map<Object,​Object> context)
        Validates the callNamesUnique constraint of 'Caller'.
        Generated class or method.
      • validateReturnValueRef_isCallValid

        public boolean validateReturnValueRef_isCallValid​(ReturnValueRef returnValueRef,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
        Validates the isCallValid constraint of 'Return Value Ref'.
        Generated class or method.
      • validateReturnValueRef_isReturnValueValid

        public boolean validateReturnValueRef_isReturnValueValid​(ReturnValueRef returnValueRef,
                                                                 DiagnosticChain diagnostics,
                                                                 Map<Object,​Object> context)
        Validates the isReturnValueValid constraint of 'Return Value Ref'.
        Generated class or method.
      • validateReturnValueRef_isAttributeValid

        public boolean validateReturnValueRef_isAttributeValid​(ReturnValueRef returnValueRef,
                                                               DiagnosticChain diagnostics,
                                                               Map<Object,​Object> context)
        Validates the isAttributeValid constraint of 'Return Value Ref'.
        Generated class or method.
      • validateReturnValueRef_isValueValid

        public boolean validateReturnValueRef_isValueValid​(ReturnValueRef returnValueRef,
                                                           DiagnosticChain diagnostics,
                                                           Map<Object,​Object> context)
        Validates the isValueValid constraint of 'Return Value Ref'.
        Generated class or method.
      • validateStateRef_isStateVariableValid

        public boolean validateStateRef_isStateVariableValid​(StateRef stateRef,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the isStateVariableValid constraint of 'State Ref'.
        Generated class or method.
      • validateStateRef_isAttributeValid

        public boolean validateStateRef_isAttributeValid​(StateRef stateRef,
                                                         DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
        Validates the isAttributeValid constraint of 'State Ref'.
        Generated class or method.
      • validateStateRef_isValueValid

        public boolean validateStateRef_isValueValid​(StateRef stateRef,
                                                     DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
        Validates the isValueValid constraint of 'State Ref'.
        Generated class or method.
      • validateDefaultStateRef_isStateVariableValid

        public boolean validateDefaultStateRef_isStateVariableValid​(DefaultStateRef defaultStateRef,
                                                                    DiagnosticChain diagnostics,
                                                                    Map<Object,​Object> context)
        Validates the isStateVariableValid constraint of 'Default State Ref'.
        Generated class or method.
      • validateDefaultStateRef_isAttributeValid

        public boolean validateDefaultStateRef_isAttributeValid​(DefaultStateRef defaultStateRef,
                                                                DiagnosticChain diagnostics,
                                                                Map<Object,​Object> context)
        Validates the isAttributeValid constraint of 'Default State Ref'.
        Generated class or method.
      • validateDefaultStateRef_isValueValid

        public boolean validateDefaultStateRef_isValueValid​(DefaultStateRef defaultStateRef,
                                                            DiagnosticChain diagnostics,
                                                            Map<Object,​Object> context)
        Validates the isValueValid constraint of 'Default State Ref'.
        Generated class or method.
      • validateMinStatic_leftHandSideIsValueWildcard

        public boolean validateMinStatic_leftHandSideIsValueWildcard​(MinStatic minStatic,
                                                                     DiagnosticChain diagnostics,
                                                                     Map<Object,​Object> context)
        Validates the leftHandSideIsValueWildcard constraint of 'Min Static'.
        Generated class or method.
      • validateMinStatic_leftHandSideIsNoAttributeWildcard

        public boolean validateMinStatic_leftHandSideIsNoAttributeWildcard​(MinStatic minStatic,
                                                                           DiagnosticChain diagnostics,
                                                                           Map<Object,​Object> context)
        Validates the leftHandSideIsNoAttributeWildcard constraint of 'Min Static'.
        Generated class or method.
      • validateMinStatic_operandsAreAttributeWildcards

        public boolean validateMinStatic_operandsAreAttributeWildcards​(MinStatic minStatic,
                                                                       DiagnosticChain diagnostics,
                                                                       Map<Object,​Object> context)
        Validates the operandsAreAttributeWildcards constraint of 'Min Static'.
        Generated class or method.
      • validateMinStatic_valueMatchesAssignmentType

        public boolean validateMinStatic_valueMatchesAssignmentType​(MinStatic minStatic,
                                                                    DiagnosticChain diagnostics,
                                                                    Map<Object,​Object> context)
        Validates the valueMatchesAssignmentType constraint of 'Min Static'.
        Generated class or method.
      • getResourceLocator

        public ResourceLocator getResourceLocator()
        Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
        Overrides:
        getResourceLocator in class EObjectValidator
        Generated class or method.