 
using namespace NewModel;

CoaNextExecution::CoaNextExecution()
{
}

CoaNextExecution::~CoaNextExecution()
{
}


CoaNextExecution::CoaNextExecution(CoaNextExecution &obj):
	OpaqueBehaviorExecutionImpl(obj)
{
}

ecore::EObject* CoaNextExecution::copy()
{
    return new CoaNextExecution(*this);
}

void CoaNextExecution::doBody(QList<fUML::ParameterValue *> *inputParameters, QList<fUML::ParameterValue *> *outputParameters)
{
    DEBUG_MESSAGE(std::cout<<"Printing from "<< this->getBehavior()->getName();)
    DEBUG_MESSAGE(std::cout<<"__________________________";)



	NewModel::PrimeChecker * target = dynamic_cast<NewModel::PrimeCheckerExecution*>(this->getContext())->getUmlValue();
    assert(target != nullptr);

    //call assigned operation
	  target->next();

	//set out/result parameter
	
	//set InOut parameters
}
