org.spicefactory.pimento.generator.naming
Class IPrefixNamingStrategy

java.lang.Object
  extended by org.spicefactory.pimento.generator.naming.IPrefixNamingStrategy
All Implemented Interfaces:
NamingStrategy

public class IPrefixNamingStrategy
extends Object
implements NamingStrategy

A naming strategy for the convention to prefix all interfaces with I. An example interface/implementation class name pair this strategy can be used for would be IProductService/ProductService.

Author:
Jens Halm

Constructor Summary
IPrefixNamingStrategy()
           
 
Method Summary
 String getImplementationClassName(String interfaceName)
          Returns the corresponding name of the ActionScript class implementing the specified service interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPrefixNamingStrategy

public IPrefixNamingStrategy()
Method Detail

getImplementationClassName

public String getImplementationClassName(String interfaceName)
Description copied from interface: NamingStrategy
Returns the corresponding name of the ActionScript class implementing the specified service interface. The class names are not fully qualified.

Specified by:
getImplementationClassName in interface NamingStrategy
Parameters:
interfaceName - the name of the service interface.
Returns:
the name of the corresponding ActionScript class implementing the specified service interface