The following document contains the results of PMD's CPD 5.0.2.
File | Line |
---|---|
org\andromda\cartridges\ejb\metafacades\EJBEntityFacadeLogicImpl.java | 212 |
org\andromda\cartridges\ejb\metafacades\EJBSessionFacadeLogicImpl.java | 72 |
return EJBMetafacadeUtils.getHomeInterfaceName(this); } /** * @param follow * @return getEnvironmentEntries * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getEnvironmentEntries(boolean) */ protected Collection handleGetEnvironmentEntries(boolean follow) { return EJBMetafacadeUtils.getEnvironmentEntries( this, follow); } /** * @param follow * @return getConstants * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getConstants(boolean) */ protected Collection handleGetConstants(boolean follow) { return EJBMetafacadeUtils.getConstants( this, follow); } /** * @return jndiName * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getJndiName() */ protected String handleGetJndiName() { StringBuilder jndiName = new StringBuilder(); String jndiNamePrefix = StringUtils.trimToEmpty(this.getJndiNamePrefix()); if (StringUtils.isNotBlank(jndiNamePrefix)) { jndiName.append(jndiNamePrefix); jndiName.append('/'); } jndiName.append("ejb/"); jndiName.append(this.getFullyQualifiedName()); return jndiName.toString(); } /** * Gets the <code>jndiNamePrefix</code> for this EJB. * * @return the EJB Jndi name prefix. */ protected String getJndiNamePrefix() { String prefix = null; if (this.isConfiguredProperty(EJBGlobals.JNDI_NAME_PREFIX)) { prefix = (String)this.getConfiguredProperty(EJBGlobals.JNDI_NAME_PREFIX); } return prefix; } /** * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacadeLogic#handleIsSyntheticCreateMethodAllowed() */ protected boolean handleIsSyntheticCreateMethodAllowed() |