Package org.eclipse.emf.cdo
Class CDOElement
- java.lang.Object
- 
- org.eclipse.emf.common.notify.impl.AdapterImpl
- 
- org.eclipse.emf.cdo.CDOElement
 
 
- 
- All Implemented Interfaces:
- IAdaptable,- org.eclipse.emf.common.notify.Adapter,- org.eclipse.emf.common.notify.Adapter.Internal
 
 public class CDOElement extends org.eclipse.emf.common.notify.impl.AdapterImpl implements IAdaptable AnadapterforEObjectsthat is able to impose an alternative contents tree structure.- Since:
- 4.4
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceCDOElement.StateProviderProvides the consumer with thestatesof objects such asCDOObjects.
 - 
Constructor SummaryConstructors Constructor Description CDOElement(org.eclipse.emf.ecore.EObject delegate)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(java.lang.Object child)java.lang.ObjectgetAdapter(java.lang.Class adapter)java.lang.Object[]getChildren()java.lang.ObjectgetDelegate()static CDOElementgetFor(java.lang.Object object)java.lang.ObjectgetParent()static org.eclipse.emf.ecore.EObjectgetParentOf(org.eclipse.emf.ecore.EObject eObject)booleanhasChildren()booleanisAdapterForType(java.lang.Object type)static org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter>removeFrom(java.lang.Object object)voidreset()java.lang.StringtoString()java.lang.StringtoString(java.lang.Object child)
 
- 
- 
- 
Method Detail- 
getDelegatepublic java.lang.Object getDelegate() 
 - 
getParentpublic java.lang.Object getParent() 
 - 
getChildrenpublic java.lang.Object[] getChildren() 
 - 
hasChildrenpublic boolean hasChildren() 
 - 
addChildpublic void addChild(java.lang.Object child) 
 - 
resetpublic void reset() 
 - 
isAdapterForTypepublic boolean isAdapterForType(java.lang.Object type) - Specified by:
- isAdapterForTypein interface- org.eclipse.emf.common.notify.Adapter
- Overrides:
- isAdapterForTypein class- org.eclipse.emf.common.notify.impl.AdapterImpl
 
 - 
getAdapterpublic java.lang.Object getAdapter(java.lang.Class adapter) - Specified by:
- getAdapterin interface- IAdaptable
 
 - 
toStringpublic java.lang.String toString(java.lang.Object child) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
getParentOfpublic static org.eclipse.emf.ecore.EObject getParentOf(org.eclipse.emf.ecore.EObject eObject) 
 - 
getForpublic static CDOElement getFor(java.lang.Object object) 
 - 
removeFrompublic static org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> removeFrom(java.lang.Object object) 
 
- 
 
-