Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.search
Class SearchResultInputElement

java.lang.Object
  extended by com.ibm.etools.iseries.rse.ui.search.SearchResultInputElement

public class SearchResultInputElement
extends Object

This class represents an iSeries search result set.


Field Summary
static String Copyright
           
 
Constructor Summary
SearchResultInputElement(String searchString)
          Constructor for ISeriesSearchResultInputElement.
 
Method Summary
 void addElement(SearchResultRootElement element)
          Add a root element to the result set.
 Object getAdapter(Class adapter)
           
 Object[] getChildren()
          Get all the root elements in the result set.
 int getNumOfChildren()
          Get the total number of children.
 String getText()
           
 void removeChildren()
          Removes the root elements in the result set.
 void removeElement(SearchResultRootElement element)
          Remove a root element from the result set.
 void setChildrenArray(ArrayList roots)
          Update the children array when the view needs to be updated from pop-up action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SearchResultInputElement

public SearchResultInputElement(String searchString)
Constructor for ISeriesSearchResultInputElement.

Parameters:
the - connection
Method Detail

getChildren

public Object[] getChildren()
Get all the root elements in the result set.

Returns:
array of root elements

getNumOfChildren

public int getNumOfChildren()
Get the total number of children.

Returns:
the number of children

removeChildren

public void removeChildren()
Removes the root elements in the result set.


addElement

public void addElement(SearchResultRootElement element)
Add a root element to the result set.

Parameters:
root - element to add

removeElement

public void removeElement(SearchResultRootElement element)
Remove a root element from the result set.

Parameters:
root - element to remove.

getText

public String getText()
See Also:
com.ibm.etools.systems.core.search.ISystemSearchResultSet#getTitle()

getAdapter

public Object getAdapter(Class adapter)
See Also:
IAdaptable

setChildrenArray

public void setChildrenArray(ArrayList roots)
Update the children array when the view needs to be updated from pop-up action


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.