MetafacadeOperationLogicImpl.java
package org.andromda.cartridges.meta.metafacades;
import org.apache.commons.lang.StringUtils;
/**
* MetafacadeLogic implementation for org.andromda.cartridges.meta.metafacades.MetafacadeOperation.
*
* @see org.andromda.cartridges.meta.metafacades.MetafacadeOperation
* @author Bob Fields
*/
public class MetafacadeOperationLogicImpl
extends MetafacadeOperationLogic
{
private static final long serialVersionUID = 34L;
// ---------------- constructor -------------------------------
/**
* @param metaObjectIn
* @param context
*/
public MetafacadeOperationLogicImpl(
Object metaObjectIn,
String context)
{
super(metaObjectIn, context);
}
/**
* @see org.andromda.cartridges.meta.metafacades.MetafacadeOperation#getImplementationName()
*/
@Override
protected String handleGetImplementationName()
{
return StringUtils.trimToEmpty(
String.valueOf(
this.getConfiguredProperty(
MetaGlobals.PROPERTY_IMPLEMENTATION_OPERATION_NAME_PATTERN))).replaceAll(
"\\{0\\}",
StringUtils.capitalize(this.getName()));
}
}