public class ReferenceChooserRestriction
extends java.lang.Object
Constructor and Description |
---|
ReferenceChooserRestriction(java.util.List<java.lang.String> stereotypeRestrictions,
java.util.List<java.lang.Class> nodeTypeRestrictions) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Class> |
getNodeTypeRestrictions() |
java.util.List<java.lang.String> |
getStereotypeRestrictions() |
boolean |
isMultipleSelectionAllowed() |
boolean |
isRestricted(ProcessObject object)
Returns true if the node is restricted.
|
boolean |
isReturnNameOnly() |
void |
setMultipleSelectionAllowed(boolean multipleSelectionAllowed) |
void |
setReturnNameOnly(boolean returnNameOnly) |
public ReferenceChooserRestriction(java.util.List<java.lang.String> stereotypeRestrictions, java.util.List<java.lang.Class> nodeTypeRestrictions)
stereotypeRestrictions
- nodeTypeRestrictions
- returnName
- Defines whether the name of the selected element or the id should be returned.public boolean isMultipleSelectionAllowed()
public void setMultipleSelectionAllowed(boolean multipleSelectionAllowed)
public boolean isReturnNameOnly()
public void setReturnNameOnly(boolean returnNameOnly)
public boolean isRestricted(ProcessObject object)
object
- public java.util.List<java.lang.Class> getNodeTypeRestrictions()
public java.util.List<java.lang.String> getStereotypeRestrictions()