org.objectweb.dsrg.sofa.repository.model.impl.congenstyles
Interface ConGenCommStyle

All Known Implementing Classes:
MessagingStyle, MethodInvocationStyle, StreamingStyle

public interface ConGenCommStyle

Interface of the classes, which returns how to generate connector units for a specific communication style.


Method Summary
 java.lang.String getName()
          Returns name of the communication style.
 java.lang.String getPortName(boolean ifaceProvided)
          Returns name of the connector unit port.
 java.lang.String getPortType(boolean ifaceProvided)
          Returns type of the connector unit port.
 java.lang.String getUnitName(boolean ifaceProvided, java.lang.String ifaceName)
          Returns name of the connector unit.
 

Method Detail

getName

java.lang.String getName()
Returns name of the communication style.

Returns:
name of the communication style

getUnitName

java.lang.String getUnitName(boolean ifaceProvided,
                             java.lang.String ifaceName)
Returns name of the connector unit.

Parameters:
ifaceProvided - whether the interface is provided or required
ifaceName - name of interface
Returns:
name of the connector unit

getPortName

java.lang.String getPortName(boolean ifaceProvided)
Returns name of the connector unit port.

Parameters:
ifaceProvided - whether the interface is provided or required
Returns:
name of the connector unit port

getPortType

java.lang.String getPortType(boolean ifaceProvided)
Returns type of the connector unit port.

Parameters:
ifaceProvided - whether the interface is provided or required
Returns:
type of the connector unit port