src/uml/src_gen/uml/impl/NamespaceImpl.cpp
std::shared_ptr<SubsetUnion<uml::PackageImport, uml::Element>> NamespaceImpl::getPackageImport() const
{
	if(m_packageImport == nullptr)
	{
		/*SubsetUnion*/
		m_packageImport.reset(new SubsetUnion<uml::PackageImport, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer SubsetUnion: " << "m_packageImport - SubsetUnion<uml::PackageImport, uml::Element >()" << std::endl;
		#endif
		
		/*SubsetUnion*/
		m_packageImport->initSubsetUnion(getOwnedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value SubsetUnion: " << "m_packageImport - SubsetUnion<uml::PackageImport, uml::Element >(getOwnedElement())" << std::endl;
		#endif
		
	}

    return m_packageImport;
}
/*
Getter & Setter for reference packageImport
*/
Getter & Setter for reference packageImport
Getter & Setter for reference packageImport
std::shared_ptr<SubsetUnion<uml::PackageImport, uml::Element>> NamespaceImpl::getPackageImport() const
{
	if(m_packageImport == nullptr)
	{
		m_packageImport.reset(new SubsetUnion<uml::PackageImport, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer SubsetUnion: " << "m_packageImport - SubsetUnion<uml::PackageImport, uml::Element >()" << std::endl;
		#endif
		m_packageImport->initSubsetUnion(getOwnedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value SubsetUnion: " << "m_packageImport - SubsetUnion<uml::PackageImport, uml::Element >(getOwnedElement())" << std::endl;
		#endif
	}
    return m_packageImport;
}
std :: shared_ptr < SubsetUnion < uml :: PackageImport , uml :: Element > > NamespaceImpl :: getPackageImport ( ) const { if ( m_packageImport == nullptr ) { m_packageImport . reset ( new SubsetUnion < uml :: PackageImport , uml :: Element > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_packageImport -> initSubsetUnion ( getOwnedElement ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_packageImport ; }
Getter & Setter for reference packageImport
Getter & Setter for reference packageImport
/*SubsetUnion*/ /*SubsetUnion*/