Class ContainmentRuleImpl
- java.lang.Object
-
- org.uberfire.ext.wires.bpmn.api.model.impl.rules.ContainmentRuleImpl
-
- All Implemented Interfaces:
ContainmentRule,Rule,RuleById
@Portable public class ContainmentRuleImpl extends Object implements ContainmentRule
-
-
Constructor Summary
Constructors Constructor Description ContainmentRuleImpl(String name, String id, Set<Role> permittedRoles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()The identifier for which the Rule applies.StringgetName()Set<Role>getPermittedRoles()The Roles of Elements permitted to be held within another Element.
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:RuleByIdThe identifier for which the Rule applies. All Elements with this Id will be affected by the Rule.
-
getPermittedRoles
public Set<Role> getPermittedRoles()
Description copied from interface:ContainmentRuleThe Roles of Elements permitted to be held within another Element.- Specified by:
getPermittedRolesin interfaceContainmentRule- Returns:
-
-