*/
protected org.andromda.metafacades.uml.UseCaseFacade handleFindUseCaseWithNameAndStereotype(
final java.lang.String name,
final java.lang.String stereotypeName)
{
UseCaseFacade ucfFound = null;
Collection ucCollections = this.getAllUseCases();
for (Iterator it = ucCollections.iterator(); it.hasNext() && ucfFound == null;)
{
UseCaseFacade ucf = (UseCaseFacade)it.next();
if (ucf.getName().equals(name))
{
if (stereotypeName == null || ucf.hasStereotype(stereotypeName))
{
ucfFound = ucf;
}
}
}