Interface ConnectionRule

  • All Superinterfaces:
    Rule, RuleByRole
    All Known Implementing Classes:
    ConnectionRuleImpl

    public interface ConnectionRule
    extends RuleByRole
    Rule to restrict how Elements can be connected. Connections can be restricted to Elements with certain Roles.
    • Method Detail

      • getPermittedConnections

        Set<ConnectionRule.PermittedConnection> getPermittedConnections()
        The Connections that are permitted by the Rule. The source and target of the connection must have the Role defined in the PermittedConnection
        Returns: