Kieker 1.3

kieker.tools.traceAnalysis.systemModel.repository
Class TypeRepository

java.lang.Object
  extended by kieker.tools.traceAnalysis.systemModel.repository.AbstractSystemSubRepository
      extended by kieker.tools.traceAnalysis.systemModel.repository.TypeRepository

public class TypeRepository
extends AbstractSystemSubRepository

Author:
Andre van Hoorn

Field Summary
 ComponentType rootComponent
           
 
Fields inherited from class kieker.tools.traceAnalysis.systemModel.repository.AbstractSystemSubRepository
ROOT_ELEMENT_ID
 
Constructor Summary
TypeRepository(SystemModelRepository systemFactory, ComponentType rootComponent)
           
 
Method Summary
 ComponentType createAndRegisterComponentType(String namedIdentifier, String fullqualifiedName)
          Creates and registers a component type that has not been registered yet.
 Collection<ComponentType> getComponentTypes()
          Returns a collection of all registered component types.
 ComponentType lookupComponentTypeByNamedIdentifier(String namedIdentifier)
          Returns the instance for the passed namedIdentifier; null if no instance with this namedIdentifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootComponent

public final ComponentType rootComponent
Constructor Detail

TypeRepository

public TypeRepository(SystemModelRepository systemFactory,
                      ComponentType rootComponent)
Method Detail

lookupComponentTypeByNamedIdentifier

public final ComponentType lookupComponentTypeByNamedIdentifier(String namedIdentifier)
Returns the instance for the passed namedIdentifier; null if no instance with this namedIdentifier.


createAndRegisterComponentType

public final ComponentType createAndRegisterComponentType(String namedIdentifier,
                                                          String fullqualifiedName)
Creates and registers a component type that has not been registered yet.

Parameters:
namedIdentifier -
fullqualifiedName -
Returns:
Throws:
IllegalArgumentException - if a component type with the given namedIdentifier has already been registered

getComponentTypes

public final Collection<ComponentType> getComponentTypes()
Returns a collection of all registered component types.

Returns:

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net