The following document contains the results of PMD's CPD 3.9.
| File | Line |
|---|---|
| org/andromda/cartridges/ejb/metafacades/EJBEntityFacadeLogicImpl.java | 191 |
| org/andromda/cartridges/ejb/metafacades/EJBSessionFacadeLogicImpl.java | 58 |
return EJBMetafacadeUtils.getAllInstanceAttributes(this);
}
/**
* @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getEnvironmentEntries(boolean)
*/
protected Collection handleGetEnvironmentEntries(boolean follow)
{
return EJBMetafacadeUtils.getEnvironmentEntries(this, follow);
}
/**
* @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getConstants(boolean)
*/
protected Collection handleGetConstants(boolean follow)
{
return EJBMetafacadeUtils.getConstants(this, follow);
}
/**
* @see org.andromda.cartridges.ejb.metafacades.EJBSession#getJndiName()
*/
protected java.lang.String handleGetJndiName()
{
StringBuffer jndiName = new StringBuffer();
String jndiNamePrefix = StringUtils.trimToEmpty(this.getJndiNamePrefix());
if (StringUtils.isNotEmpty(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.EJBSessionFacade#isStateful()
*/
protected boolean handleIsStateful() | |