org.acm.seguin.summary.query
Class TypeList

java.lang.Object
  extended by org.acm.seguin.summary.query.TypeList
Direct Known Subclasses:
MovingTypeList, StayingTypeList

public abstract class TypeList
extends java.lang.Object

Determines if a package contains a certain type

Author:
Chris Seguin

Constructor Summary
TypeList()
           
 
Method Summary
protected abstract  boolean isIncluded(FileSummary summary)
          Determines if the types in the file should be included or not
protected abstract  boolean isIncluded(TypeSummary summary)
          Determines if the types in the file should be included or not
 java.util.LinkedList query(PackageSummary summary)
          Places the query
 java.util.LinkedList query(java.lang.String packageName)
          Places the query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeList

public TypeList()
Method Detail

query

public java.util.LinkedList query(java.lang.String packageName)
Places the query

Parameters:
packageName - the name of the package
Returns:
the list of types

query

public java.util.LinkedList query(PackageSummary summary)
Places the query

Parameters:
summary - the package summary
Returns:
the list of types

isIncluded

protected abstract boolean isIncluded(FileSummary summary)
Determines if the types in the file should be included or not

Parameters:
summary - the summary to check
Returns:
true if it should be included

isIncluded

protected abstract boolean isIncluded(TypeSummary summary)
Determines if the types in the file should be included or not

Parameters:
summary - the summary to check
Returns:
true if it should be included