Class DescendantControl
Java class for DescendantControl complex type.
The following schema fragment specifies the expected content contained within this class.
 <complexType name="DescendantControl">
 <complexContent>
 <extension base="{http://www.ibm.com/websphere/wim}HierarchyControl">
 </extension>
 </complexContent>
 </complexType>
 
 
 The DescendantControl object extends the HierarchyControl object.
It is used in the input Root object of the get() API to request descendants of the entity. If the DescendantControl object is added to the Root object in a get() API call, this means the descendants of the entities under the Root object will be returned in the returning Root object.
Besides indicating whether or not to return descendants, DescendantControl can also be used for specifying the properties to be returned for descendants as well as the level of descendants to be returned.
- level
- 0: return all descendants
- 1: return only the children
- greater than 1: return the specified number of descendants. For example, a level set to 2 will return both the children and the granchildren.
Since DescendantControl is also extended from SearchControl, it is possible to specify other search properties like countLimit, and timeLimit in DescendantControl to only return the descendants which satisfies the search criteria. For example, adding the property expression with value: @xsi:type='Person' to only return the descendants which are of the Person entity type.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.ibm.wsspi.security.wim.model.PropertyControlPropertyControl.ContextProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the value of the requested propertygetDataType(String propName) Gets the Java type of the value of the provided property.static ListgetPropertyNames(String entityTypeName) Gets a list of all supported properties for this model object, DescendantControlstatic HashSetGets a set of any model objects which extend this model object, DescendantControlGets a list of any model objects which this model object, DescendantControl, is an extension of.Gets the name of this model object, DescendantControlbooleanReturns true if the requested property is set; false, otherwise.booleanReturns a true if the provided model object is one that this model object extends; false, otherwise.voidSets the value of the provided property to the provided value.toString()Returns this model object, DescendantControl, and its contents as a StringvoidSets the value of provided property to null.Methods inherited from class com.ibm.wsspi.security.wim.model.HierarchyControlgetLevel, isSetLevel, isSetTreeView, isTreeView, setLevel, setTreeView, unsetLevel, unsetTreeViewMethods inherited from class com.ibm.wsspi.security.wim.model.SearchControlgetCountLimit, getExpression, getSearchBases, getSearchLimit, getTimeLimit, isReturnSubType, isSetCountLimit, isSetExpression, isSetReturnSubType, isSetSearchBases, isSetSearchLimit, isSetTimeLimit, setCountLimit, setExpression, setReturnSubType, setSearchLimit, setTimeLimit, unsetCountLimit, unsetReturnSubType, unsetSearchBases, unsetSearchLimit, unsetTimeLimitMethods inherited from class com.ibm.wsspi.security.wim.model.PropertyControlgetContextProperties, getProperties, isSetContextProperties, isSetProperties, unsetContextProperties, unsetProperties
- 
Constructor Details- 
DescendantControlpublic DescendantControl()
 
- 
- 
Method Details- 
getGets the value of the requested property- Overrides:
- getin class- HierarchyControl
- Parameters:
- propName- allowed object is- String
- Returns:
- returned object is Object
 
- 
isSetReturns true if the requested property is set; false, otherwise.- Overrides:
- isSetin class- HierarchyControl
- Returns:
- returned object is boolean
 
- 
setSets the value of the provided property to the provided value.- Overrides:
- setin class- HierarchyControl
- Parameters:
- propName- allowed object is- String
- value- allowed object is- Object
 
- 
unsetSets the value of provided property to null.- Overrides:
- unsetin class- HierarchyControl
- Parameters:
- propName- allowed object is- String
 
- 
getTypeNameGets the name of this model object, DescendantControl- Overrides:
- getTypeNamein class- HierarchyControl
- Returns:
- returned object is String
 
- 
getPropertyNamesGets a list of all supported properties for this model object, DescendantControl
- 
getDataTypeGets the Java type of the value of the provided property. For example: String, List- Overrides:
- getDataTypein class- HierarchyControl
- Parameters:
- propName- allowed object is- String
- Returns:
- returned object is String
 
- 
getSuperTypesGets a list of any model objects which this model object, DescendantControl, is an extension of.- Overrides:
- getSuperTypesin class- HierarchyControl
- Returns:
- returned object is ArrayList
 
- 
isSubTypeReturns a true if the provided model object is one that this model object extends; false, otherwise.- Overrides:
- isSubTypein class- HierarchyControl
- Parameters:
- superTypeName- allowed object is- String
- Returns:
- returned object is boolean
 
- 
getSubTypesGets a set of any model objects which extend this model object, DescendantControl- Returns:
- returned object is HashSet
 
- 
toStringReturns this model object, DescendantControl, and its contents as a String- Overrides:
- toStringin class- HierarchyControl
- Returns:
- returned object is String
 
 
-