sb.append( type.getPackageName() );
}
}
else if ( object instanceof ClassifierFacade )
{
ClassifierFacadeLogicImpl type = (ClassifierFacadeLogicImpl) object;
if ( type.getMetaObject() instanceof PrimitiveType )
{
if ( !"datatype".equals( type.getPackageName() ))
{
sb.append( type.getPackageName() );
}
}
else
{
type2 = (org.eclipse.uml2.impl.ClassImpl)type.getMetaObject();
if ( !type2.eIsProxy() )
{
sb.append( type.getPackageName() );
}
}
}
else if ( object instanceof AttributeFacade )
{
AttributeFacade attribute = (AttributeFacade) object;
ClassifierFacadeLogicImpl type = (ClassifierFacadeLogicImpl) attribute.getType();
if ( type.getMetaObject() instanceof PrimitiveType )
{
if ( !"datatype".equals( type.getPackageName() ))
{
sb.append( type.getPackageName() );
}
}
else
{
type2 = (org.eclipse.uml2.impl.ClassImpl)type.getMetaObject();
if ( !type2.eIsProxy() )
{
sb.append( type.getPackageName() );
}
}
}
else if ( object instanceof EJBAssociationEndFacade )
{
if ( ( ( EJBAssociationEndFacade ) object ).isNavigable() )
{
ClassifierFacade type = ( ( EJBAssociationEndFacadeLogicImpl ) object ).getType();
sb.append( type.getPackageName() );
}
}
else if ( object instanceof AssociationEndFacade )
{
AssociationEndFacadeLogicImpl assosiation = ( AssociationEndFacadeLogicImpl ) object;
if ( assosiation.isNavigable() )
{
AssociationEndImpl metaObject = ( AssociationEndImpl ) assosiation.getMetaObject();
type2 = ( org.eclipse.uml2.impl.ClassImpl ) metaObject.getType();
if ( !type2.eIsProxy() )
{
ClassifierFacade type = assosiation.getType();
sb.append( type.getPackageName() );
}
}
}
if ( type2 != null && type2.eIsProxy() )