Package org.andromda.metafacades.emf.uml2

Source Code of org.andromda.metafacades.emf.uml2.TaggedValueFacadeLogicImpl

package org.andromda.metafacades.emf.uml2;

import java.util.ArrayList;
import java.util.Collection;


/**
* MetafacadeLogic implementation for
* org.andromda.metafacades.uml.TaggedValueFacade.
*
* @see org.andromda.metafacades.uml.TaggedValueFacade
*/
public class TaggedValueFacadeLogicImpl
    extends TaggedValueFacadeLogic
{
    public TaggedValueFacadeLogicImpl(
        final TagDefinition metaObject,
        final String context)
    {
        super(metaObject, context);
    }

    /**
     * @see org.andromda.metafacades.uml.TaggedValueFacade#getValue()
     */
    protected java.lang.Object handleGetValue()
    {
        return this.metaObject.getValue();
    }

    /**
     * @see org.andromda.metafacades.uml.TaggedValueFacade#getValues()
     */
    protected java.util.Collection handleGetValues()
    {
        Collection collection = new ArrayList();
        collection.addAll(this.metaObject.getValues());
        return collection;
    }
}
TOP

Related Classes of org.andromda.metafacades.emf.uml2.TaggedValueFacadeLogicImpl

TOP
Copyright © 2018 www.massapi.com. 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.