public interface HierarchyControl extends SearchControl
The following features are supported:
ModelPackage.getHierarchyControl()
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Returns the value of the 'Level' attribute.
|
boolean |
isSetLevel()
Returns whether the value of the '
Level ' attribute is set. |
boolean |
isSetTreeView()
Returns whether the value of the '
Tree View ' attribute is set. |
boolean |
isTreeView()
Returns the value of the 'Tree View' attribute.
|
void |
setLevel(int value)
Sets the value of the '
Level ' attribute. |
void |
setTreeView(boolean value)
Sets the value of the '
Tree View ' attribute. |
void |
unsetLevel()
Unsets the value of the '
Level ' attribute. |
void |
unsetTreeView()
Unsets the value of the '
Tree View ' attribute. |
getCountLimit, getExpression, getSearchBases, getSearchLimit, getTimeLimit, isReturnSubType, isSetCountLimit, isSetReturnSubType, isSetSearchLimit, isSetTimeLimit, setCountLimit, setExpression, setReturnSubType, setSearchLimit, setTimeLimit, unsetCountLimit, unsetReturnSubType, unsetSearchLimit, unsetTimeLimit
getContextProperties, getProperties
int getLevel()
"1"
.
Level has different meaning in different contexts. For example, in DescendantControl, it indicates
the level of descendants. In GroupMembershipControl, it indicates level of nested groups.
Level=1 means immediate ancestor(parent)/descendant(children)/group/member.
Level=0 means all nested ancestors(parents)/descendants(children)/group/members.
Level=any positive integer means specified level of ancestors(parents)/descendants(children).
isSetLevel()
,
unsetLevel()
,
setLevel(int)
,
ModelPackage.getHierarchyControl_Level()
void setLevel(int value)
Level
' attribute.
value
- the new value of the 'Level' attribute.isSetLevel()
,
unsetLevel()
,
getLevel()
void unsetLevel()
Level
' attribute.
isSetLevel()
,
getLevel()
,
setLevel(int)
boolean isSetLevel()
Level
' attribute is set.
unsetLevel()
,
getLevel()
,
setLevel(int)
boolean isTreeView()
"false"
.
If tree view is false, the dataobjects are returned in as flat list. If it is true then the descendants/groups/members are returned in a tree structure. The tree view is currently not supported.
isSetTreeView()
,
unsetTreeView()
,
setTreeView(boolean)
,
ModelPackage.getHierarchyControl_TreeView()
void setTreeView(boolean value)
Tree View
' attribute.
value
- the new value of the 'Tree View' attribute.isSetTreeView()
,
unsetTreeView()
,
isTreeView()
void unsetTreeView()
Tree View
' attribute.
isSetTreeView()
,
isTreeView()
,
setTreeView(boolean)
boolean isSetTreeView()
Tree View
' attribute is set.
unsetTreeView()
,
isTreeView()
,
setTreeView(boolean)