src/uml/src_gen/uml/impl/BehavioredClassifierImpl.cpp
BehavioredClassifierImpl::BehavioredClassifierImpl(std::weak_ptr<uml::Package > par_Package, const int reference_id)
:BehavioredClassifierImpl()
{
	switch(reference_id)
	{	
	case umlPackage::PACKAGEABLEELEMENT_ATTRIBUTE_OWNINGPACKAGE:
		m_owningPackage = par_Package;
		m_namespace = par_Package;
		 return;
	case umlPackage::TYPE_ATTRIBUTE_PACKAGE:
		m_package = par_Package;
		m_namespace = par_Package;
		 return;
	default:
	std::cerr << __PRETTY_FUNCTION__ <<" Reference not found in class with the given ID" << std::endl;
	}
   
}
//Additional constructor for the containments back reference
Additional constructor for the containments back reference
Additional constructor for the containments back reference
BehavioredClassifierImpl::BehavioredClassifierImpl(std::weak_ptr<uml::Package > par_Package, const int reference_id)
:BehavioredClassifierImpl()
{
	switch(reference_id)
	{	
	case umlPackage::PACKAGEABLEELEMENT_ATTRIBUTE_OWNINGPACKAGE:
		m_owningPackage = par_Package;
		m_namespace = par_Package;
		 return;
	case umlPackage::TYPE_ATTRIBUTE_PACKAGE:
		m_package = par_Package;
		m_namespace = par_Package;
		 return;
	default:
	std::cerr << __PRETTY_FUNCTION__ <<" Reference not found in class with the given ID" << std::endl;
	}
}
BehavioredClassifierImpl :: BehavioredClassifierImpl ( std :: weak_ptr < uml :: Package > par_Package , const int reference_id ) : BehavioredClassifierImpl ( ) { switch ( reference_id ) { case umlPackage :: PACKAGEABLEELEMENT_ATTRIBUTE_OWNINGPACKAGE : m_owningPackage = par_Package ; m_namespace = par_Package ; return ; case umlPackage :: TYPE_ATTRIBUTE_PACKAGE : m_package = par_Package ; m_namespace = par_Package ; return ; default : std :: cerr << __PRETTY_FUNCTION__ << " " << std :: endl ; } }
Additional constructor for the containments back reference
Additional constructor for the containments back reference