Interface CardinalityRule.ConnectorRule

  • All Superinterfaces:
    Rule, RuleByRole
    Enclosing interface:
    CardinalityRule

    public static interface CardinalityRule.ConnectorRule
    extends RuleByRole
    Rule to restrict the cardinality of Connections. The direction of the Connection is defined in CardinalityRule.
    • Method Detail

      • getMinOccurrences

        long getMinOccurrences()
        The minimum number of connections an Element can have.
        Returns:
      • getMaxOccurrences

        long getMaxOccurrences()
        The maximum number of connections an Element can have.
        Returns: