Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface Part

All Superinterfaces:
AssemblyObject, ContextFactoryHolder, Extensible
All Known Subinterfaces:
AtomicComponent, Component<I>, CompositeComponent<I>, EntryPoint, ExternalService, ModuleComponent
All Known Implementing Classes:
AtomicComponentImpl, ComponentImpl, EntryPointImpl, ExternalServiceImpl, ModuleComponentImpl, PartImpl

public interface Part
extends Extensible, ContextFactoryHolder

A configured object that is contained inside a Composite.


Method Summary
 Composite getComposite()
          Returns the composite that contains this component.
 java.lang.String getName()
          Returns the name that uniquely identifies this component within its containing composite.
 void setComposite(Composite composite)
          Sets the composite that contains this component.
 void setName(java.lang.String value)
          Sets the name that uniquely identifies this component within its containing composite.
 
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible
getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 
Methods inherited from interface org.apache.tuscany.model.assembly.ContextFactoryHolder
getContextFactory, setContextFactory
 

Method Detail

getName

java.lang.String getName()
Returns the name that uniquely identifies this component within its containing composite.

Returns:
the name that uniquely identifies this component within its containing composite

setName

void setName(java.lang.String value)
Sets the name that uniquely identifies this component within its containing composite.

Parameters:
value - the name that uniquely identifies this component within its containing composite

getComposite

Composite getComposite()
Returns the composite that contains this component.

Returns:
the composite that contains this component

setComposite

void setComposite(Composite composite)
Sets the composite that contains this component.

Parameters:
the - composite that contains this component

Tuscany Assembly Model

-