org.spicefactory.pimento.generator.naming
Class ImplPostfixNamingStrategy

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

public class ImplPostfixNamingStrategy
extends Object
implements NamingStrategy

A naming strategy that will prepend Impl to the interface name. An example interface/implementation class name pair this strategy can be used for would be ProductService/ProductServiceImpl.

Author:
Jens Halm

Constructor Summary
ImplPostfixNamingStrategy()
           
 
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

ImplPostfixNamingStrategy

public ImplPostfixNamingStrategy()
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