Package org.andromda.metafacades.uml

Examples of org.andromda.metafacades.uml.FilteredCollection


                entity = entity.getGeneralization())
            {
                sourceDependencies.addAll(entity.getSourceDependencies());
            }
        }
        return new FilteredCollection(sourceDependencies)
            {
                public boolean evaluate(Object object)
                {
                    boolean valid = false;
                    Object targetElement = ((DependencyFacade)object).getTargetElement();
View Full Code Here


    /**
     * @see org.andromda.metafacades.uml.FrontEndController#getServiceReferences()
     */
    protected java.util.List handleGetServiceReferences()
    {
        return new FilteredCollection(this.getSourceDependencies())
            {
                public boolean evaluate(Object object)
                {
                    return ((DependencyFacade)object).getTargetElement() instanceof Service;
                }
View Full Code Here

    /**
     * @see org.andromda.metafacades.uml.PackageFacade#getClasses()
     */
    public java.util.Collection handleGetClasses()
    {
        return new FilteredCollection(metaObject.getOwnedElement())
            {
                public boolean evaluate(Object object)
                {
                    return object instanceof UmlClass;
                }
View Full Code Here

    /**
     * @see org.andromda.metafacades.uml.PackageFacade#getSubPackages()
     */
    protected Collection handleGetSubPackages()
    {
        return new FilteredCollection(metaObject.getOwnedElement())
            {
                public boolean evaluate(Object object)
                {
                    return object instanceof org.omg.uml.modelmanagement.UmlPackage;
                }
View Full Code Here

     * filters all static operations
     */
    static java.util.Collection filterBusinessOperations(Collection operations)
    {
        Collection businessOperations =
            new FilteredCollection(operations)
            {
                public boolean evaluate(Object object)
                {
                    return !((OperationFacade)object).isStatic();
                }
View Full Code Here

    /**
     * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsAction#getResettableActionParameters()
     */
    protected List handleGetResettableActionParameters()
    {
        return new ArrayList(new FilteredCollection(this.getActionParameters())
        {
            public boolean evaluate(Object object)
            {
                return object != null && ((StrutsParameter) object).isShouldReset();
            }
View Full Code Here

TOP

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

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.