cz.cuni.amis.pogamut.base.component.controller
Class ComponentDependencies

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.component.controller.ComponentDependencies

public class ComponentDependencies
extends java.lang.Object


Constructor Summary
ComponentDependencies()
           
ComponentDependencies(ComponentDependencies dependencies)
           
ComponentDependencies(ComponentDependencyType dependencyType)
           
ComponentDependencies(ComponentDependencyType dependencyType, java.lang.Object... dependencies)
           
 
Method Summary
 ComponentDependencies add(IComponent component)
           
 ComponentDependencies add(IToken token)
           
 int getCount()
           
 IToken[] getDependencies()
           
 ComponentDependencyType getType()
           
 boolean isDependency(IComponent component)
           
 boolean isDependency(IToken token)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentDependencies

public ComponentDependencies()

ComponentDependencies

public ComponentDependencies(ComponentDependencyType dependencyType)

ComponentDependencies

public ComponentDependencies(ComponentDependencyType dependencyType,
                             java.lang.Object... dependencies)
Parameters:
dependencyType -
dependencies - might be IToken implementations or IComponent implementations

ComponentDependencies

public ComponentDependencies(ComponentDependencies dependencies)
Method Detail

add

public ComponentDependencies add(IToken token)

add

public ComponentDependencies add(IComponent component)

getDependencies

public IToken[] getDependencies()

isDependency

public boolean isDependency(IToken token)

isDependency

public boolean isDependency(IComponent component)

getType

public ComponentDependencyType getType()

getCount

public int getCount()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object