text: //********************************************************************
  //*    
  //* Warning: This file was generated by ecore4CPP Generator
  //*
  //********************************************************************
  
  #ifndef UML_TYPEDELEMENT_HPP
  #define UML_TYPEDELEMENT_HPP
  
  #include <list>
  #include <memory>
  #include <string>
  
  
  // forward declarations
  
  
  
  //*********************************
  // generated Includes
  
  #include <map>
  
  namespace persistence
  {
  	namespace interfaces
  	{
  		class XLoadHandler; // used for Persistence
  		class XSaveHandler; // used for Persistence
  	}
  }
  
  namespace uml
  {
  	class UmlFactory;
  }
  
  //Forward Declaration for used types
  namespace uml 
  {
  	class Comment;
  }
  
  namespace uml 
  {
  	class Dependency;
  }
  
  namespace uml 
  {
  	class Element;
  }
  
  namespace uml 
  {
  	class NamedElement;
  }
  
  namespace uml 
  {
  	class Namespace;
  }
  
  namespace uml 
  {
  	class StringExpression;
  }
  
  namespace uml 
  {
  	class Type;
  }
  
  // base class includes
  #include "uml/NamedElement.hpp"
  
  // enum includes
  #include "uml/VisibilityKind.hpp"
  
  
  //*********************************
  namespace uml 
  {
  	/*!
  	 A TypedElement is a NamedElement that may have a Type specified for it.
  	<p>From package UML::CommonStructure.</p> */
  	class TypedElement:virtual public NamedElement
  	{
  		public:
   			TypedElement(const TypedElement &) {}
  			TypedElement& operator=(TypedElement const&) = delete;
  
  		protected:
  			TypedElement(){}
  
  
  		public:
  			virtual std::shared_ptr<ecore::EObject> copy() const = 0;
  
  			//destructor
  			virtual ~TypedElement() {}
  
  			//*********************************
  			// Operations
  			//*********************************
  			
  			//*********************************
  			// Attributes Getter Setter
  			//*********************************
  			
  			//*********************************
  			// Reference
  			//*********************************
  			/*!
  			 The type of the TypedElement.
  			<p>From package UML::CommonStructure.</p> */
  			virtual std::shared_ptr<uml::Type > getType() const = 0;
  			
  			/*!
  			 The type of the TypedElement.
  			<p>From package UML::CommonStructure.</p> */
  			virtual void setType(std::shared_ptr<uml::Type> _type_type) = 0;
  			
  
  		protected:
  			//*********************************
  			// Attribute Members
  			//*********************************
  			
  			
  			//*********************************
  			// Reference Members
  			//*********************************
  			/*!
  			 The type of the TypedElement.
  			<p>From package UML::CommonStructure.</p> */
  			std::shared_ptr<uml::Type > m_type;
  			
  
  		public:
  			//*********************************
  			// Union Getter
  			//*********************************
  			/*!
  			 The Elements owned by this Element.
  			<p>From package UML::CommonStructure.</p> */
  			virtual std::shared_ptr<Union<uml::Element>> getOwnedElement() const = 0;/*!
  			 The Element that owns this Element.
  			<p>From package UML::CommonStructure.</p> */
  			virtual std::weak_ptr<uml::Element > getOwner() const = 0;
  
  			virtual std::shared_ptr<ecore::EObject> eContainer() const = 0; 
  			
  			//*********************************
  			// Persistence Functions
  			//*********************************
  			virtual void load(std::shared_ptr<persistence::interfaces::XLoadHandler> loadHandler) = 0;
  			
  			virtual void resolveReferences(const int featureID, std::list<std::shared_ptr<ecore::EObject> > references) = 0;
  			virtual void save(std::shared_ptr<persistence::interfaces::XSaveHandler> saveHandler) const = 0;
  			
  	};
  
  }
  #endif /* end of include guard: UML_TYPEDELEMENT_HPP */
  