Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Ecore/EObject"
< Ecore
(New page: All EMF generated models implement the [http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/org/eclipse/emf/ecore/EObject.html EObject interface], and directly or indirectly ext...) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | All [[EMF]] generated models implement the [http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/org/eclipse/emf/ecore/EObject.html EObject | + | All [[EMF]] generated models implement the [http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/org/eclipse/emf/ecore/EObject.html EObject] and [http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/org/eclipse/emf/ecore/InternalEObject.html InternalEObject] interfaces, and directly or indirectly extend the [http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/org/eclipse/emf/ecore/impl/BasicEObjectImpl.html BasicEObjectImpl] superclass. |
== Documentation == | == Documentation == | ||
Line 7: | Line 7: | ||
== FAQ == | == FAQ == | ||
− | === How to obtain EPackage that contains an EObject? === | + | === How to obtain EPackage that contains an EObject's class? === |
<source lang="java"> | <source lang="java"> | ||
eObject.eClass().getEPackage() | eObject.eClass().getEPackage() | ||
</source> | </source> |
Latest revision as of 09:14, 16 December 2010
All EMF generated models implement the EObject and InternalEObject interfaces, and directly or indirectly extend the BasicEObjectImpl superclass.
Documentation
FAQ
How to obtain EPackage that contains an EObject's class?
eObject.eClass().getEPackage()