Class CompositionValidator

    • Field Detail

      • INSTANCE

        public static final CompositionValidator INSTANCE
        The cached model package
        Generated class or method.
      • COMPOSED_STRUCTURE__MULTIPLE_CONNECTORS_CONSTRAINT

        public static final int COMPOSED_STRUCTURE__MULTIPLE_CONNECTORS_CONSTRAINT
        The code for constraint 'Multiple Connectors Constraint' of 'Composed Structure'.
        See Also:
        Constant Field Values
        Generated class or method.
      • COMPOSED_STRUCTURE__MULTIPLE_CONNECTORS_CONSTRAINT_FOR_ASSEMBLY_CONNECTORS

        public static final int COMPOSED_STRUCTURE__MULTIPLE_CONNECTORS_CONSTRAINT_FOR_ASSEMBLY_CONNECTORS
        The code for constraint 'Multiple Connectors Constraint For Assembly Connectors' of 'Composed Structure'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PROVIDED_DELEGATION_CONNECTOR__PROVIDED_DELEGATION_CONNECTORANDTHECONNECTED_COMPONENTMUSTBEPARTOFTHESAMECOMPOSITESTRUCTURE

        public static final int PROVIDED_DELEGATION_CONNECTOR__PROVIDED_DELEGATION_CONNECTORANDTHECONNECTED_COMPONENTMUSTBEPARTOFTHESAMECOMPOSITESTRUCTURE
        The code for constraint 'Provided Delegation Connectorandtheconnected Componentmustbepartofthesamecompositestructure' of 'Provided Delegation Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • PROVIDED_DELEGATION_CONNECTOR__COMPONENT_OF_ASSEMBLY_CONTEXT_AND_INNER_ROLE_PROVIDING_COMPONENT_NEED_TO_BE_THE_SAME

        public static final int PROVIDED_DELEGATION_CONNECTOR__COMPONENT_OF_ASSEMBLY_CONTEXT_AND_INNER_ROLE_PROVIDING_COMPONENT_NEED_TO_BE_THE_SAME
        The code for constraint 'Component Of Assembly Context And Inner Role Providing Component Need To Be The Same' of 'Provided Delegation Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • REQUIRED_DELEGATION_CONNECTOR__REQUIRED_DELEGATION_CONNECTORANDTHECONNECTED_COMPONENTMUSTBEPARTOFTHESAMECOMPOSITESTRUCTURE

        public static final int REQUIRED_DELEGATION_CONNECTOR__REQUIRED_DELEGATION_CONNECTORANDTHECONNECTED_COMPONENTMUSTBEPARTOFTHESAMECOMPOSITESTRUCTURE
        The code for constraint 'Required Delegation Connectorandtheconnected Componentmustbepartofthesamecompositestructure' of 'Required Delegation Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • REQUIRED_DELEGATION_CONNECTOR__COMPONENT_OF_ASSEMBLY_CONTEXT_AND_INNER_ROLE_REQUIRING_COMPONENT_NEED_TO_BE_THE_SAME

        public static final int REQUIRED_DELEGATION_CONNECTOR__COMPONENT_OF_ASSEMBLY_CONTEXT_AND_INNER_ROLE_REQUIRING_COMPONENT_NEED_TO_BE_THE_SAME
        The code for constraint 'Component Of Assembly Context And Inner Role Requiring Component Need To Be The Same' of 'Required Delegation Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • REQUIRED_DELEGATION_CONNECTOR__REQUIRING_ENTITY_OF_OUTER_REQUIRED_ROLE_MUST_BE_THE_SAME_AS_THE_PARENT_OF_THE_REQUIRED_DELEGATION_CONNECTOR

        public static final int REQUIRED_DELEGATION_CONNECTOR__REQUIRING_ENTITY_OF_OUTER_REQUIRED_ROLE_MUST_BE_THE_SAME_AS_THE_PARENT_OF_THE_REQUIRED_DELEGATION_CONNECTOR
        The code for constraint 'Requiring Entity Of Outer Required Role Must Be The Same As The Parent Of The Required Delegation Connector' of 'Required Delegation Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • ASSEMBLY_CONNECTOR__ASSEMBLY_CONNECTORS_REFERENCED_PROVIDED_ROLES_AND_CHILD_CONTEXT_MUST_MATCH

        public static final int ASSEMBLY_CONNECTOR__ASSEMBLY_CONNECTORS_REFERENCED_PROVIDED_ROLES_AND_CHILD_CONTEXT_MUST_MATCH
        The code for constraint 'Assembly Connectors Referenced Provided Roles And Child Context Must Match' of 'Assembly Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • ASSEMBLY_CONNECTOR__ASSEMBLY_CONNECTORS_REFERENCED_REQUIRED_ROLE_AND_CHILD_CONTEXT_MUST_MATCH

        public static final int ASSEMBLY_CONNECTOR__ASSEMBLY_CONNECTORS_REFERENCED_REQUIRED_ROLE_AND_CHILD_CONTEXT_MUST_MATCH
        The code for constraint 'Assembly Connectors Referenced Required Role And Child Context Must Match' of 'Assembly Connector'.
        See Also:
        Constant Field Values
        Generated class or method.
      • ASSEMBLY_CONNECTOR__ASSEMBLY_CONNECTORS_REFERENCED_INTERFACES_MUST_MATCH

        public static final int ASSEMBLY_CONNECTOR__ASSEMBLY_CONNECTORS_REFERENCED_INTERFACES_MUST_MATCH
        The code for constraint 'Assembly Connectors Referenced Interfaces Must Match' of 'Assembly Connector'.
        See Also:
        Constant Field Values
        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.
    • Constructor Detail

      • CompositionValidator

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

      • validateComposedStructure_MultipleConnectorsConstraint

        public boolean validateComposedStructure_MultipleConnectorsConstraint​(ComposedStructure composedStructure,
                                                                              DiagnosticChain diagnostics,
                                                                              Map<Object,​Object> context)
        Validates the MultipleConnectorsConstraint constraint of 'Composed Structure'.
        Generated class or method.
      • validateComposedStructure_MultipleConnectorsConstraintForAssemblyConnectors

        public boolean validateComposedStructure_MultipleConnectorsConstraintForAssemblyConnectors​(ComposedStructure composedStructure,
                                                                                                   DiagnosticChain diagnostics,
                                                                                                   Map<Object,​Object> context)
        Validates the MultipleConnectorsConstraintForAssemblyConnectors constraint of 'Composed Structure'.
        Generated class or method.
      • validateProvidedDelegationConnector_ProvidedDelegationConnectorandtheconnectedComponentmustbepartofthesamecompositestructure

        public boolean validateProvidedDelegationConnector_ProvidedDelegationConnectorandtheconnectedComponentmustbepartofthesamecompositestructure​(ProvidedDelegationConnector providedDelegationConnector,
                                                                                                                                                    DiagnosticChain diagnostics,
                                                                                                                                                    Map<Object,​Object> context)
        Validates the ProvidedDelegationConnectorandtheconnectedComponentmustbepartofthesamecompositestructure constraint of 'Provided Delegation Connector'.
        Generated class or method.
      • validateProvidedDelegationConnector_ComponentOfAssemblyContextAndInnerRoleProvidingComponentNeedToBeTheSame

        public boolean validateProvidedDelegationConnector_ComponentOfAssemblyContextAndInnerRoleProvidingComponentNeedToBeTheSame​(ProvidedDelegationConnector providedDelegationConnector,
                                                                                                                                   DiagnosticChain diagnostics,
                                                                                                                                   Map<Object,​Object> context)
        Validates the ComponentOfAssemblyContextAndInnerRoleProvidingComponentNeedToBeTheSame constraint of 'Provided Delegation Connector'.
        Generated class or method.
      • validateRequiredDelegationConnector_RequiredDelegationConnectorandtheconnectedComponentmustbepartofthesamecompositestructure

        public boolean validateRequiredDelegationConnector_RequiredDelegationConnectorandtheconnectedComponentmustbepartofthesamecompositestructure​(RequiredDelegationConnector requiredDelegationConnector,
                                                                                                                                                    DiagnosticChain diagnostics,
                                                                                                                                                    Map<Object,​Object> context)
        Validates the RequiredDelegationConnectorandtheconnectedComponentmustbepartofthesamecompositestructure constraint of 'Required Delegation Connector'.
        Generated class or method.
      • validateRequiredDelegationConnector_ComponentOfAssemblyContextAndInnerRoleRequiringComponentNeedToBeTheSame

        public boolean validateRequiredDelegationConnector_ComponentOfAssemblyContextAndInnerRoleRequiringComponentNeedToBeTheSame​(RequiredDelegationConnector requiredDelegationConnector,
                                                                                                                                   DiagnosticChain diagnostics,
                                                                                                                                   Map<Object,​Object> context)
        Validates the ComponentOfAssemblyContextAndInnerRoleRequiringComponentNeedToBeTheSame constraint of 'Required Delegation Connector'.
        Generated class or method.
      • validateRequiredDelegationConnector_RequiringEntityOfOuterRequiredRoleMustBeTheSameAsTheParentOfTheRequiredDelegationConnector

        public boolean validateRequiredDelegationConnector_RequiringEntityOfOuterRequiredRoleMustBeTheSameAsTheParentOfTheRequiredDelegationConnector​(RequiredDelegationConnector requiredDelegationConnector,
                                                                                                                                                      DiagnosticChain diagnostics,
                                                                                                                                                      Map<Object,​Object> context)
        Validates the RequiringEntityOfOuterRequiredRoleMustBeTheSameAsTheParentOfTheRequiredDelegationConnector constraint of 'Required Delegation Connector'.
        Generated class or method.
      • validateAssemblyConnector_AssemblyConnectorsReferencedProvidedRolesAndChildContextMustMatch

        public boolean validateAssemblyConnector_AssemblyConnectorsReferencedProvidedRolesAndChildContextMustMatch​(AssemblyConnector assemblyConnector,
                                                                                                                   DiagnosticChain diagnostics,
                                                                                                                   Map<Object,​Object> context)
        Validates the AssemblyConnectorsReferencedProvidedRolesAndChildContextMustMatch constraint of 'Assembly Connector'.
        Generated class or method.
      • validateAssemblyConnector_AssemblyConnectorsReferencedRequiredRoleAndChildContextMustMatch

        public boolean validateAssemblyConnector_AssemblyConnectorsReferencedRequiredRoleAndChildContextMustMatch​(AssemblyConnector assemblyConnector,
                                                                                                                  DiagnosticChain diagnostics,
                                                                                                                  Map<Object,​Object> context)
        Validates the AssemblyConnectorsReferencedRequiredRoleAndChildContextMustMatch constraint of 'Assembly Connector'.
        Generated class or method.
      • validateAssemblyConnector_AssemblyConnectorsReferencedInterfacesMustMatch

        public boolean validateAssemblyConnector_AssemblyConnectorsReferencedInterfacesMustMatch​(AssemblyConnector assemblyConnector,
                                                                                                 DiagnosticChain diagnostics,
                                                                                                 Map<Object,​Object> context)
        Validates the AssemblyConnectorsReferencedInterfacesMustMatch constraint of 'Assembly Connector'.
        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.