public class CDOElement extends AdapterImpl implements IAdaptable
Modifier and Type | Class and Description |
---|---|
static interface |
CDOElement.StateProvider |
Adapter.Internal
target
Constructor and Description |
---|
CDOElement(EObject delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Object child) |
Object |
getAdapter(Class adapter) |
Object[] |
getChildren() |
Object |
getDelegate() |
static CDOElement |
getFor(Object object) |
Object |
getParent() |
static EObject |
getParentOf(EObject eObject) |
boolean |
hasChildren() |
boolean |
isAdapterForType(Object type) |
static EList<Adapter> |
removeFrom(Object object) |
void |
reset() |
String |
toString() |
String |
toString(Object child) |
getTarget, notifyChanged, setTarget, unsetTarget
public CDOElement(EObject delegate)
public Object getDelegate()
public Object getParent()
public Object[] getChildren()
public boolean hasChildren()
public void addChild(Object child)
public void reset()
public boolean isAdapterForType(Object type)
isAdapterForType
in interface Adapter
isAdapterForType
in class AdapterImpl
public Object getAdapter(Class adapter)
getAdapter
in interface IAdaptable
public static CDOElement getFor(Object object)
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.