com.togethersoft.sca.core
Interface IAnalyzerCategory


public interface IAnalyzerCategory

An analyzer category is a simple container that is used to logically group analyzers by problem domain. Analyzer categories allows for creating hierarchical structure of nested categories and analyzers.


Method Summary
 void addCategory(IAnalyzerCategory cat)
          Adds a nested analyzer category to this category.
 void addDescriptor(IAnalyzerDescriptor desc)
          Adds an analyzer descriptor to this category.
 java.lang.Object clone()
          Creates a deep copy of this category.
 IAnalyzerCategory[] getCategories()
          Returns an array of analyzer categories immediately contained in this category.
 IAnalyzerCategory getCategory()
          Returns the containing category of this category, or null if this is a top-level category.
 IAnalyzerDescriptor[] getDescriptors()
          Returns an array of analyzer descriptors immediately contained in this category.
 java.lang.String getId()
          Returns the unique identifier of this category.
 java.lang.String getName()
          Returns the name of this category.
 

Method Detail

addCategory

public void addCategory(IAnalyzerCategory cat)
Adds a nested analyzer category to this category.

addDescriptor

public void addDescriptor(IAnalyzerDescriptor desc)
Adds an analyzer descriptor to this category.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep copy of this category.

getCategories

public IAnalyzerCategory[] getCategories()
Returns an array of analyzer categories immediately contained in this category. Returns an empty array, if this category does not have nested categories.

getCategory

public IAnalyzerCategory getCategory()
Returns the containing category of this category, or null if this is a top-level category.

getDescriptors

public IAnalyzerDescriptor[] getDescriptors()
Returns an array of analyzer descriptors immediately contained in this category. Returns an empty array, if this analyzer category does not have nested analyzer.

getId

public java.lang.String getId()
Returns the unique identifier of this category.

getName

public java.lang.String getName()
Returns the name of this category.