Interface CardinalityRule
-
- All Superinterfaces:
Rule,RuleByRole
- All Known Implementing Classes:
CardinalityRuleImpl
public interface CardinalityRule extends RuleByRole
Rule to restrict the cardinality of Elements in a diagram.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCardinalityRule.ConnectorRuleRule to restrict the cardinality of Connections.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<CardinalityRule.ConnectorRule>getIncomingConnectionRules()Restrictions on the incoming connections to an ElementlonggetMaxOccurrences()The maximum number of occurrences that an Element can have in a diagram.longgetMinOccurrences()The minimum number of occurrences that an Element can have in a diagram.Set<CardinalityRule.ConnectorRule>getOutgoingConnectionRules()Restrictions on the outgoing connections from an Element-
Methods inherited from interface org.uberfire.ext.wires.bpmn.api.model.rules.RuleByRole
getRole
-
-
-
-
Method Detail
-
getMinOccurrences
long getMinOccurrences()
The minimum number of occurrences that an Element can have in a diagram.- Returns:
-
getMaxOccurrences
long getMaxOccurrences()
The maximum number of occurrences that an Element can have in a diagram.- Returns:
-
getIncomingConnectionRules
Set<CardinalityRule.ConnectorRule> getIncomingConnectionRules()
Restrictions on the incoming connections to an Element- Returns:
-
getOutgoingConnectionRules
Set<CardinalityRule.ConnectorRule> getOutgoingConnectionRules()
Restrictions on the outgoing connections from an Element- Returns:
-
-