All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.hammer.tpl.TplExecuteIdMapperImpl Maven / Gradle / Ivy

There is a newer version: 0.7.2
Show newest version

package cn.featherfly.hammer.tpl;

/**
 * 

* TplExecuteIdExecutionImpl *

* * @author zhongj */ public class TplExecuteIdMapperImpl implements TplExecuteId { private String name; private String namespace; private Class mapper; private boolean isTemplate; /** * @param name name * @param namespace namespace * @param mapper mapper * @param isTemplate isTemplate */ public TplExecuteIdMapperImpl(String name, String namespace, Class mapper, boolean isTemplate) { super(); this.name = name; this.namespace = namespace; this.mapper = mapper; this.isTemplate = isTemplate; } /** * {@inheritDoc} */ @Override public String getId() { return namespace + TplConfigFactory.ID_SIGN + name; } /** * {@inheritDoc} */ @Override public String getNamespace() { return namespace; } /** * {@inheritDoc} */ @Override public String getName() { return name; } /** * 返回mapper * * @return mapper */ public Class getMapper() { return mapper; } /** * 返回isTemplate * * @return isTemplate */ public boolean isTemplate() { return isTemplate; } /** * {@inheritDoc} */ @Override public String toString() { return "TplExecuteIdMapperImpl [name=" + name + ", namespace=" + namespace + ", mapper=" + mapper + ", isTemplate=" + isTemplate + "]"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy