Package org.andromda.metafacades.uml

Examples of org.andromda.metafacades.uml.Service


    /**
     * @see org.andromda.metafacades.uml.ServiceOperation#getService()
     */
    protected Object handleGetService()
    {
        Service owner = null;
        if (this.getOwner() instanceof Service)
        {
            owner = (Service)this.getOwner();
        }
        return owner;
View Full Code Here


            this.getAllGeneralizations(),
            new Closure()
            {
                public void execute(final Object object)
                {
                    Service service = (Service)object;
                    result.addAll(service.getServiceReferences());
                }
            });
        return result;
    }
View Full Code Here

        {
            public void execute(Object object)
            {
                if (object instanceof Service)
                {
                    final Service service = (Service)object;
                    result.addAll(service.getEntityReferences());
                }
            }
        });
        return result;
    }
View Full Code Here

        {
            public void execute(Object object)
            {
                if (object instanceof Service)
                {
                    final Service service = (Service)object;
                    result.addAll(service.getMessagingDestinations());
                }
            }

        });
        return result;
View Full Code Here

        {
            public void execute(Object object)
            {
                if (object instanceof Service)
                {
                    final Service service = (Service)object;
                    result.addAll(service.getServiceReferences());
                }
            }
        });
        return result;
    }
View Full Code Here

        {
            public void execute(Object object)
            {
                if (object instanceof Service)
                {
                    final Service service = (Service)object;
                    result.addAll(service.getEntityReferences());
                }
            }
        });
        return result;
    }
View Full Code Here

        {
            public void execute(Object object)
            {
                if (object instanceof Service)
                {
                    final Service service = (Service)object;
                    result.addAll(service.getMessagingDestinations());
                }
            }
        });
        return result;
    }
View Full Code Here

    /**
     * @see org.andromda.metafacades.uml.ServiceOperation#getService()
     */
    protected java.lang.Object handleGetService()
    {
        Service owner = null;
        if (this.getOwner() instanceof Service)
        {
            owner = (Service)this.getOwner();
        }
        return owner;
View Full Code Here

                sb.append( type.getPackageName() );
            }
        }
        else if ( object instanceof Service )
        {
          Service type = ( Service ) object;
           
            type2 = (org.eclipse.uml2.impl.ClassImpl)(( MetafacadeBase ) object).getMetaObject() ;
           
//            Package package1 = type2.getPackage();
           
            if ( !type2.eIsProxy() )
            {
                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() );             
                }
            }
           
        }
View Full Code Here

                sb.append( type.getName() );
            }
        }
        else if ( object instanceof Service )
        {
          Service type = ( Service ) object;
           
            type2 = (org.eclipse.uml2.impl.ClassImpl)(( MetafacadeBase ) object).getMetaObject() ;
           
            if ( !type2.eIsProxy() )
            {
                sb.append( type.getName() );
            }
        }
        else if ( object instanceof ClassifierFacade )
        {
            ClassifierFacadeLogicImpl type = (ClassifierFacadeLogicImpl) object;
           
            if ( type.getMetaObject() instanceof PrimitiveType )
            {
                sb.append( type.getName() );             
            }
            else
            {
                type2 = (org.eclipse.uml2.impl.ClassImpl)type.getMetaObject();
               
                if ( !type2.eIsProxy() )
                {
                    sb.append( type.getName() );             
                }
            }
        }

        if ( type2 != null && type2.eIsProxy() )
View Full Code Here

TOP

Related Classes of org.andromda.metafacades.uml.Service

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.