Jump to: navigation, search

Difference between revisions of "Ecore/EObject"

(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 interface], and directly or indirectly extends the [http://download.eclipse.org/modeling/emf/emf/javadoc/2.6.0/org/eclipse/emf/ecore/impl/EObjectImpl.html EObjectImpl superclass].
+
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()