org.pf.tools.cda.base.model
Class NotFoundClassContainer

java.lang.Object
  extended by org.pf.tools.cda.base.model.AModelObject
      extended by org.pf.tools.cda.base.model.AAnalyzableElement
          extended by org.pf.tools.cda.base.model.GenericClassContainer
              extended by org.pf.tools.cda.base.model.NotFoundClassContainer
All Implemented Interfaces:
java.lang.Comparable, org.pf.bif.lifecycle.IReleasable, IAnalyzableElement, IClassContainingElement, IContainer, IExplorableElement, IExplorableElementVisiting, IExplorationModelObject, IObjectProperties, IStructureVisiting

public class NotFoundClassContainer
extends GenericClassContainer

Special container that hold all those classes that have not been found in any physical class container.

Version:
1.1
Author:
M.Duchrow

Field Summary
 
Fields inherited from class org.pf.tools.cda.base.model.GenericClassContainer
EMPTY_GENERIC_CONTAINER_ARRAY
 
Fields inherited from class org.pf.tools.cda.base.model.AModelObject
EMPTY_MODEL_OBJECT_ARRAY
 
Fields inherited from interface org.pfsw.odem.IContainer
EMPTY_CONTAINER_ARRAY
 
Fields inherited from interface org.pf.tools.cda.base.model.IAnalyzableElement
EMPTY_BASE_ARRAY
 
Constructor Summary
NotFoundClassContainer(Workset aWorkset)
          Initialize the new instance with a workset.
 
Method Summary
 boolean canBeAnalyzedForDependencies()
          Returns true if this element can (currently) be analyzed for its dependencies to other elements.
 java.lang.String getName()
          Returns the name
 boolean isNotFoundContainer()
          Returns true.
 boolean isValid()
          Returns true if this class container is valid.
 
Methods inherited from class org.pf.tools.cda.base.model.GenericClassContainer
accept, acceptContainers, acceptNamespaces, acceptTypes, addSubContainer, canHaveDependencies, collectionToArray, compareTo, contains, createPackage, displayString, equals, findClassInfo, findOrCreateClassInfo, findOrCreatePackage, findPackage, getAlias, getAllContainedClasses, getAnalyzableElementType, getChildCount, getChildren, getClassification, getContext, getDirectReferredContainers, getIncludedContainers, getNamespaces, getNumberOfContainedClasses, getNumberOfContainedPackages, getPackageNamed, getPackages, getParentContainer, getRequiredClassFileVersion, getSubContainers, getVersion, getWorkset, hashCode, hasVersion, isShortContainerNamesOn, isSoftwareComponent, isThirdPartyLibrary, packagesCollected, packagesCollected, processClassInformationObjects, processClassPackageObjects, refersTo, release, setAlias, toString
 
Methods inherited from class org.pf.tools.cda.base.model.AModelObject
apply, countAllElementsRecursivly, getNumberOfAncestors, getProperty, getPropertyNames, setProperty
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pfsw.odem.IObjectProperties
getProperty, getPropertyNames, setProperty
 

Constructor Detail

NotFoundClassContainer

public NotFoundClassContainer(Workset aWorkset)
Initialize the new instance with a workset.

Method Detail

isNotFoundContainer

public boolean isNotFoundContainer()
Returns true.

Overrides:
isNotFoundContainer in class GenericClassContainer

getName

public java.lang.String getName()
Description copied from class: AModelObject
Returns the name

Specified by:
getName in interface IExplorationModelObject
Specified by:
getName in class AModelObject

isValid

public boolean isValid()
Description copied from class: GenericClassContainer
Returns true if this class container is valid.

Specified by:
isValid in class GenericClassContainer

canBeAnalyzedForDependencies

public boolean canBeAnalyzedForDependencies()
Returns true if this element can (currently) be analyzed for its dependencies to other elements. This container always returns false because it only contains classes that have not been found.

Specified by:
canBeAnalyzedForDependencies in interface IAnalyzableElement
Overrides:
canBeAnalyzedForDependencies in class AAnalyzableElement