Tuscany Assembly Model

org.apache.tuscany.model.assembly.impl
Class PartImpl

java.lang.Object
  extended by org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
      extended by org.apache.tuscany.model.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.model.assembly.impl.PartImpl
All Implemented Interfaces:
AssemblyObject, ContextFactoryHolder, Extensible, Part
Direct Known Subclasses:
ComponentImpl, EntryPointImpl, ExternalServiceImpl

public abstract class PartImpl
extends ExtensibleImpl
implements Part

Implementation of Part.


Constructor Summary
protected PartImpl()
           
 
Method Summary
 Composite getComposite()
          Returns the composite that contains this component.
 Object getContextFactory()
          Returns the context factory
 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 setContextFactory(Object contextFactory)
          Sets the context factory
 void setName(String value)
          Sets the name that uniquely identifies this component within its containing composite.
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl
accept, freeze, getExtensibilityAttributes, getExtensibilityElements, initialize
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

PartImpl

protected PartImpl()
Method Detail

getName

public String getName()
Description copied from interface: Part
Returns the name that uniquely identifies this component within its containing composite.

Specified by:
getName in interface Part
Returns:
the name that uniquely identifies this component within its containing composite

setName

public void setName(String value)
Description copied from interface: Part
Sets the name that uniquely identifies this component within its containing composite.

Specified by:
setName in interface Part
Parameters:
value - the name that uniquely identifies this component within its containing composite

getComposite

public Composite getComposite()
Description copied from interface: Part
Returns the composite that contains this component.

Specified by:
getComposite in interface Part
Returns:
the composite that contains this component

setComposite

public void setComposite(Composite composite)
Description copied from interface: Part
Sets the composite that contains this component.

Specified by:
setComposite in interface Part

getContextFactory

public Object getContextFactory()
Description copied from interface: ContextFactoryHolder
Returns the context factory

Specified by:
getContextFactory in interface ContextFactoryHolder

setContextFactory

public void setContextFactory(Object contextFactory)
Description copied from interface: ContextFactoryHolder
Sets the context factory

Specified by:
setContextFactory in interface ContextFactoryHolder

Tuscany Assembly Model

-