org.pf.tools.cda.core.dependency.analyzer.model
Class ASearchResult<S extends IAnalyzableElement,E extends IAnalyzableElement>

java.lang.Object
  extended by org.pf.tools.cda.core.dependency.analyzer.model.ASearchResult<S,E>
Direct Known Subclasses:
ClassesSearchResult, ContainerSearchResult, PackagesSearchResult

public abstract class ASearchResult<S extends IAnalyzableElement,E extends IAnalyzableElement>
extends java.lang.Object

An abstract class that implements common methods for all classes that contain a collection of found elements due to a search or analysis.

Version:
1.0
Author:
M.Duchrow

Method Summary
 E[] getAllFoundObjects()
          Returns all a copy of the array containing all found objects
 java.lang.String getId()
          Returns the unique id of the search result
 S getSearchInitiator()
           
 java.lang.String getTitle()
          Returns a describing title for the search result
 Workset getWorkset()
          Returns the workset this search result was created for
 void setId(java.lang.String newValue)
          Sets the unique id of the search result
 void setSupportsGraphView(boolean newValue)
           
 void setTitle(java.lang.String newValue)
          Sets a describing title for the search result
 boolean supportsGraphView()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public java.lang.String getId()
Returns the unique id of the search result


setId

public void setId(java.lang.String newValue)
Sets the unique id of the search result


getTitle

public java.lang.String getTitle()
Returns a describing title for the search result

Returns:
a text or null

setTitle

public void setTitle(java.lang.String newValue)
Sets a describing title for the search result


supportsGraphView

public boolean supportsGraphView()

setSupportsGraphView

public void setSupportsGraphView(boolean newValue)

getSearchInitiator

public S getSearchInitiator()

getAllFoundObjects

public E[] getAllFoundObjects()
Returns all a copy of the array containing all found objects


getWorkset

public Workset getWorkset()
Returns the workset this search result was created for