org.pf.tools.cda.base.model.workset
Class ClasspathMetadata

java.lang.Object
  extended by org.pf.tools.cda.base.model.workset.ClasspathMetadata

public class ClasspathMetadata
extends java.lang.Object

Holds all additional metadata about classpath elements.

Version:
1.1
Author:
M.Duchrow

Constructor Summary
ClasspathMetadata()
          Initialize the new instance with default values.
 
Method Summary
 void addContainerInfo(ContainerInfo info)
           
 ContainerInfo find(ClassContainer container)
          Find the container info object that corresponds to the given container or null if none can be found.
 ContainerInfo findOrCreate(ClassContainer container)
          Returns the container info object that corresponds to the given class container.
 java.util.List<ContainerInfo> getContainerMetaInfo()
           
 boolean isEmpty()
          Returns true if no container info objects are available.
static void setClassFolderNames(java.lang.String... folderNames)
          Sets the names of sub-folders that must be pertained when creating short names of containers.
 void setContainerMetaInfo(java.util.List<ContainerInfo> newValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathMetadata

public ClasspathMetadata()
Initialize the new instance with default values.

Method Detail

getContainerMetaInfo

public java.util.List<ContainerInfo> getContainerMetaInfo()

setContainerMetaInfo

public void setContainerMetaInfo(java.util.List<ContainerInfo> newValue)

setClassFolderNames

public static void setClassFolderNames(java.lang.String... folderNames)
Sets the names of sub-folders that must be pertained when creating short names of containers.


addContainerInfo

public void addContainerInfo(ContainerInfo info)

findOrCreate

public ContainerInfo findOrCreate(ClassContainer container)
Returns the container info object that corresponds to the given class container.


find

public ContainerInfo find(ClassContainer container)
Find the container info object that corresponds to the given container or null if none can be found.


isEmpty

public boolean isEmpty()
Returns true if no container info objects are available.