org.objectweb.dsrg.sofa.microarchitecture
Interface ComponentDescription


public interface ComponentDescription

Provides information about component instance.


Method Summary
 Architecture getComponentArchitecture()
          Model Architecture class of the component.
 java.lang.Object getComponentContent()
          Returns content class of the component.
 Frame getComponentFrame()
          Model frame class implemented by component.
 DelegationChain getControlInterfaceChain(java.lang.String name)
          Returns control delegation chain with the given name.
 java.util.Set<java.lang.String> getControlInterfacesNames()
          Returns names of the control interfaces of the component.
 DelegationChain getProvidedInterfaceChain(java.lang.String name)
          Returns business provided delegation chain with the given name.
 java.util.Set<java.lang.String> getProvidedInterfacesNames()
          Returns names of the business provided interfaces of the component.
 DelegationChain getRequiredInterfaceChain(java.lang.String name)
          Returns business required delegation chain with the given name.
 java.util.Set<java.lang.String> getRequiredInterfacesNames()
          Returns names of the business required interfaces of the component.
 

Method Detail

getComponentContent

java.lang.Object getComponentContent()
Returns content class of the component.

Returns:
Content class instance or null if the component is composite.

getComponentArchitecture

Architecture getComponentArchitecture()
Model Architecture class of the component.

Returns:
Architecture Architecture of the component.

getComponentFrame

Frame getComponentFrame()
Model frame class implemented by component.

Returns:
Frame implemented by the component.

getRequiredInterfacesNames

java.util.Set<java.lang.String> getRequiredInterfacesNames()
Returns names of the business required interfaces of the component.

Returns:
Set of business required interface names.

getRequiredInterfaceChain

DelegationChain getRequiredInterfaceChain(java.lang.String name)
                                          throws InterfaceNotFoundException
Returns business required delegation chain with the given name.

Parameters:
name - Name of the business required interface we want the delegation chain for.
Returns:
delegation chain
Throws:
InterfaceNotFoundException

getProvidedInterfacesNames

java.util.Set<java.lang.String> getProvidedInterfacesNames()
Returns names of the business provided interfaces of the component.

Returns:
Set of business provided interface names.

getProvidedInterfaceChain

DelegationChain getProvidedInterfaceChain(java.lang.String name)
                                          throws InterfaceNotFoundException
Returns business provided delegation chain with the given name.

Parameters:
name - Name of the business provided interface we want the delegation chain for.
Returns:
delegation chain
Throws:
InterfaceNotFoundException

getControlInterfacesNames

java.util.Set<java.lang.String> getControlInterfacesNames()
Returns names of the control interfaces of the component.

Returns:
Set of control interface names.

getControlInterfaceChain

DelegationChain getControlInterfaceChain(java.lang.String name)
                                         throws InterfaceNotFoundException
Returns control delegation chain with the given name.

Parameters:
name - Name of the control interface we want the delegation chain for.
Returns:
delegation chain
Throws:
InterfaceNotFoundException