All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.andromda.metafacades.emf.uml22.ExtendFacadeLogicImpl Maven / Gradle / Ivy

Go to download

The Eclipse EMF UML2 v2.X metafacades. This is the set of EMF UML2 2.X metafacades implementations. These implement the common UML metafacades for .uml model files.

The newest version!
package org.andromda.metafacades.emf.uml22;

import java.util.List;
import org.eclipse.uml2.uml.Extend;
import org.eclipse.uml2.uml.ExtensionPoint;
import org.eclipse.uml2.uml.UseCase;

/**
 * MetafacadeLogic implementation for org.andromda.metafacades.uml.ExtendFacade.
 *
 * @see org.andromda.metafacades.uml.ExtendFacade
 */
public class ExtendFacadeLogicImpl
    extends ExtendFacadeLogic
{
    private static final long serialVersionUID = 6629935453907047694L;

    /**
     * @param metaObject
     * @param context
     */
    public ExtendFacadeLogicImpl(
        final Extend metaObject,
        final String context)
    {
        super(metaObject, context);
    }

    /**
     * @see org.andromda.metafacades.uml.ExtendFacade#getBase()
     */
    @Override
    protected UseCase handleGetBase()
    {
        return this.metaObject.getExtendedCase();
    }

    /**
     * @see org.andromda.metafacades.uml.ExtendFacade#getExtensionPoints()
     */
    @Override
    protected List handleGetExtensionPoints()
    {
        return this.metaObject.getExtensionLocations();
    }

    /**
     * @see org.andromda.metafacades.uml.ExtendFacade#getExtension()
     */
    @Override
    protected UseCase handleGetExtension()
    {
        return this.metaObject.getExtension();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy