sb.append( _getFQCN( type, (( EJBAssociationEndFacadeLogicImpl ) object ).isMany() ) );
}
}
else if ( object instanceof AssociationEndFacadeLogicImpl )
{
AssociationEndFacadeLogicImpl type = (AssociationEndFacadeLogicImpl) object;
if ( type.isNavigable() )
{
AssociationEndImpl metaObject = ( AssociationEndImpl ) type.getMetaObject();
org.eclipse.uml2.impl.ClassImpl type2 = (org.eclipse.uml2.impl.ClassImpl)metaObject.getType();
if (type2.eIsProxy())
{
// Proxy AssosiationEnd's must be StereoType Entity
URI proxyURI = type2.eProxyURI();
String className = proxyURI.fragment().substring( proxyURI.fragment().lastIndexOf( '/' ) + 1 );
String fragment = proxyURI.fragment().substring( 0, proxyURI.fragment().lastIndexOf( '/' ) );
String packageName = fragment.substring(fragment.lastIndexOf( '/' ) + 1 );
sb.append( packageName ).append( ".common." );
sb.append( className ).append( "TO" );
}
else
{
ClassifierFacade classifierFacade = type.getType();
ClassifierFacade superClass = getSuperClass(classifierFacade);
if ( superClass != null )
{
classifierFacade = superClass;
}
sb.append( _getFQCN( classifierFacade, type.isMany() ) );
}
}
}
else
{