org.objectweb.dsrg.sofa.repository.model.impl.congenstyles
Class MessagingStyle

java.lang.Object
  extended by org.objectweb.dsrg.sofa.repository.model.impl.congenstyles.MessagingStyle
All Implemented Interfaces:
ConGenCommStyle

public class MessagingStyle
extends java.lang.Object
implements ConGenCommStyle

Messaging.


Constructor Summary
MessagingStyle()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagingStyle

public MessagingStyle()
Method Detail

getName

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

Specified by:
getName in interface ConGenCommStyle
Returns:
name of the communication style

getUnitName

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

Specified by:
getUnitName in interface ConGenCommStyle
Parameters:
ifaceProvided - whether the interface is provided or required
ifaceName - name of interface
Returns:
name of the connector unit

getPortName

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

Specified by:
getPortName in interface ConGenCommStyle
Parameters:
ifaceProvided - whether the interface is provided or required
Returns:
name of the connector unit port

getPortType

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

Specified by:
getPortType in interface ConGenCommStyle
Parameters:
ifaceProvided - whether the interface is provided or required
Returns:
type of the connector unit port