Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface ConfiguredPort<P extends Port>

All Superinterfaces:
AssemblyObject, ProxyFactoryHolder
All Known Subinterfaces:
ConfiguredReference, ConfiguredService
All Known Implementing Classes:
ConfiguredPortImpl, ConfiguredReferenceImpl, ConfiguredServiceImpl

public interface ConfiguredPort<P extends Port>
extends AssemblyObject, ProxyFactoryHolder

Represents a configured port (e.g. a configured reference or configured service).


Method Summary
 String getName()
          Returns the name of the port being configured.
 Part getPart()
          Returns the part containing this port.
 P getPort()
          Returns the port that is being configured.
 void setName(String name)
          Set the name of the port being configured.
 void setPart(Part part)
          Sets the configured part containing this port.
 void setPort(P port)
          Sets the port that is being configured.
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 
Methods inherited from interface org.apache.tuscany.model.assembly.ProxyFactoryHolder
getProxyFactory, setProxyFactory
 

Method Detail

getName

String getName()
Returns the name of the port being configured.

Returns:
the name of the port being configured

setName

void setName(String name)
Set the name of the port being configured.

Parameters:
name - the name of the port being configured

getPort

P getPort()
Returns the port that is being configured.

Returns:
the port that is being configured

setPort

void setPort(P port)
Sets the port that is being configured.

Parameters:
port - the port that is being configured

getPart

Part getPart()
Returns the part containing this port.

Returns:
the part that contains this port

setPart

void setPart(Part part)
Sets the configured part containing this port.

Parameters:
part - the configured part containing this port.

Tuscany Assembly Model

-