Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Ecore/EObject"
< Ecore
m (EObject moved to Ecore/EObject) |
|||
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()