- /// Defines the name of the object
- MODELAPI_EXPORT virtual void setName(std::string theName) = 0;
-};
+ /// Returns document this feature belongs to
+ MODELAPI_EXPORT virtual std::shared_ptr<ModelAPI_Document> document() const;
+
+ /// Returns the group identifier of this object
+ virtual std::string groupName() = 0;
+
+ /// Request for initialization of data model of the object: adding all attributes
+ virtual void initAttributes() = 0;
+
+ /// Called on change of any argument-attribute of this object
+ /// \param theID identifier of changed attribute
+ MODELAPI_EXPORT virtual void attributeChanged(const std::string& theID);
+
+ /// Initializes the default states of the object
+ MODELAPI_EXPORT ModelAPI_Object();