001package org.andromda.cartridges.jbpm.metafacades;
002
003/**
004 * MetafacadeLogic implementation for org.andromda.cartridges.jbpm.metafacades.JBpmEndState.
005 *
006 * @see org.andromda.cartridges.jbpm.metafacades.JBpmEndState
007 */
008public class JBpmEndStateLogicImpl
009    extends JBpmEndStateLogic
010{
011    private static final long serialVersionUID = 34L;
012    /**
013     * @param metaObject
014     * @param context
015     */
016    public JBpmEndStateLogicImpl (Object metaObject, String context)
017    {
018        super (metaObject, context);
019    }
020
021    //TODO Generation from UML2 Metafacade model does not put these methods in *Logic generated class.
022    // Implementation copied from UML14 generated version, to avoid compiler error on missing method implementation from abstract method.
023    /**
024     * @see org.andromda.cartridges.jbpm.metafacades.JBpmStateVertex#getNodeClassName()
025     */
026    @Override
027    public String getNodeClassName()
028    {
029        return this.getSuperJBpmEventState().getNodeClassName();
030    }
031    /**
032     * @see org.andromda.cartridges.jbpm.metafacades.JBpmStateVertex#getNodePackageName()
033     */
034    @Override
035    public String getNodePackageName()
036    {
037        return this.getSuperJBpmEventState().getNodePackageName();
038    }
039    /**
040     * @see org.andromda.cartridges.jbpm.metafacades.JBpmStateVertex#getProcessDefinition()
041     */
042    @Override
043    public JBpmProcessDefinition getProcessDefinition()
044    {
045        return this.getSuperJBpmEventState().getProcessDefinition();
046    }
047    /**
048     * @see org.andromda.cartridges.jbpm.metafacades.JBpmStateVertex#isContainedInBusinessProcess()
049     */
050    @Override
051    public boolean isContainedInBusinessProcess()
052    {
053        return this.getSuperJBpmEventState().isContainedInBusinessProcess();
054    }
055}