iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.search
Class ISeriesSearchResultRootElement

java.lang.Object
  extended bycom.ibm.etools.iseries.core.search.ISeriesSearchResultRootElement
All Implemented Interfaces:
IAdaptable

public class ISeriesSearchResultRootElement
extends Object
implements IAdaptable

This class represents an iSeries search result root.


Field Summary
static String Copyright
           
 
Constructor Summary
ISeriesSearchResultRootElement(ISeriesConnection connection)
          Constructor for ISeriesSearchResultRootElement.
 
Method Summary
 void addChild(ISeriesSearchResultChildElement child)
          Add a child to the root.
 Object getAdapter(Class adapter)
           
 Object[] getChildren()
           
 String getFileName()
          Get the file name.
 ImageDescriptor getImageDescriptor()
          Get the image descriptor.
 ISeriesSearchResultInputElement getInputElement()
          Get input element.
 ISeriesConnection getISeriesConnection()
          Get the iseries connection.
 String getLibraryName()
          Get the library name.
 String getMemberName()
          Get the member name.
 String getName()
          Get the name.
 int getNumOfChildren()
          Return the number of children of this root.
 String getText()
          Get the text.
 boolean handleDoubleClick()
          Handle double click.
 boolean hasChildren()
          Returns whether the root has children.
 void removeChild(ISeriesSearchResultChildElement child)
          Remove a child from the root.
 void setInputElement(ISeriesSearchResultInputElement inputElement)
          Set input element.
 void setName(String name)
          Set the name.
 void setRootElementAdapter(ISeriesSearchResultElementAdapter adapter)
          Set the root adapter of the element
 
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

ISeriesSearchResultRootElement

public ISeriesSearchResultRootElement(ISeriesConnection connection)
Constructor for ISeriesSearchResultRootElement.

Method Detail

setInputElement

public void setInputElement(ISeriesSearchResultInputElement inputElement)
Set input element.


getInputElement

public ISeriesSearchResultInputElement getInputElement()
Get input element.

Returns:
the input element

getISeriesConnection

public ISeriesConnection getISeriesConnection()
Get the iseries connection.

Returns:
the iseries connection

getChildren

public Object[] getChildren()
See Also:
com.ibm.etools.systems.core.search.ISystemSearchResultRootAdapter#getChildren()

getNumOfChildren

public int getNumOfChildren()
Return the number of children of this root.

Returns:
the number of children

hasChildren

public boolean hasChildren()
Returns whether the root has children.

Returns:
true if root has children, false otherwise

addChild

public void addChild(ISeriesSearchResultChildElement child)
Add a child to the root.


removeChild

public void removeChild(ISeriesSearchResultChildElement child)
Remove a child from the root.


setName

public void setName(String name)
Set the name.


getName

public String getName()
Get the name.


getLibraryName

public String getLibraryName()
Get the library name.

Returns:
the library name

getFileName

public String getFileName()
Get the file name.

Returns:
the file name

getMemberName

public String getMemberName()
Get the member name.

Returns:
the member name

getText

public String getText()
Get the text.

Returns:
the text

getImageDescriptor

public ImageDescriptor getImageDescriptor()
Get the image descriptor.

Returns:
the image descriptor

getAdapter

public Object getAdapter(Class adapter)
Specified by:
getAdapter in interface IAdaptable
See Also:
IAdaptable.getAdapter(Class)

handleDoubleClick

public boolean handleDoubleClick()
Handle double click.

Returns:
true if handled, false otherwise

setRootElementAdapter

public void setRootElementAdapter(ISeriesSearchResultElementAdapter adapter)
Set the root adapter of the element

Parameters:
adapter -

iSeries Remote Systems
v6.0.1

Copyright © 2005 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.