org.pf.tools.cda.base.model
Interface IComponentHolder

All Known Implementing Classes:
ComponentModel, SoftwareComponent

public interface IComponentHolder

An interface that identifies all objects that hold containers.

Version:
1.0
Author:
M.Duchrow

Method Summary
 void addComponent(SoftwareComponent component)
          Add the given component
 SoftwareComponent[] getComponents()
          Returns all containers that are hold by this object
 IComponentHolder getParentComponentHolder()
          Returns the parent holder that contains this object.
 void removeComponent(SoftwareComponent component)
          Remove the given component
 

Method Detail

getParentComponentHolder

IComponentHolder getParentComponentHolder()
Returns the parent holder that contains this object. If this object has no parent null will be returned.


getComponents

SoftwareComponent[] getComponents()
Returns all containers that are hold by this object


addComponent

void addComponent(SoftwareComponent component)
Add the given component


removeComponent

void removeComponent(SoftwareComponent component)
Remove the given component