org.eclipse.emf.edit.tree.impl
Class TreeNodeImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.edit.tree.impl.TreeNodeImpl
- All Implemented Interfaces:
- EObject, InternalEObject, Notifier, TreeNode
- public class TreeNodeImpl
- extends EObjectImpl
- implements TreeNode
An implementation of the model object 'Node'.
The following features are implemented:
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalContainer, eInternalResource, eIsProxy, eObjectForURIFragmentSegment, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eURIFragmentSegment, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
children
protected EList children
- The cached value of the '
Children' containment reference list.
- See Also:
getChildren()
data
protected EObject data
- The cached value of the '
Data' reference.
- See Also:
getData()
TreeNodeImpl
protected TreeNodeImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class EObjectImpl
getParent
public TreeNode getParent()
-
- Specified by:
getParent in interface TreeNode
- Following copied from interface:
org.eclipse.emf.edit.tree.TreeNode
- Returns:
- the value of the 'Parent' container reference.
- See Also:
TreeNode.setParent(TreeNode),
TreePackage.getTreeNode_Parent(),
TreeNode.getChildren()
setParent
public void setParent(TreeNode newParent)
-
- Specified by:
setParent in interface TreeNode
- Following copied from interface:
org.eclipse.emf.edit.tree.TreeNode
- Parameters:
value - the new value of the 'Parent' container reference.- See Also:
TreeNode.getParent()
getChildren
public EList getChildren()
-
- Specified by:
getChildren in interface TreeNode
- Following copied from interface:
org.eclipse.emf.edit.tree.TreeNode
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
TreePackage.getTreeNode_Children(),
TreeNode.getParent()
getData
public EObject getData()
-
- Specified by:
getData in interface TreeNode
- Following copied from interface:
org.eclipse.emf.edit.tree.TreeNode
- Returns:
- the value of the 'Data' reference.
- See Also:
TreeNode.setData(EObject),
TreePackage.getTreeNode_Data()
basicGetData
public EObject basicGetData()
-
setData
public void setData(EObject newData)
-
- Specified by:
setData in interface TreeNode
- Following copied from interface:
org.eclipse.emf.edit.tree.TreeNode
- Parameters:
value - the new value of the 'Data' reference.- See Also:
TreeNode.getData()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseAdd in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseRemove in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainer in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eGet
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet in interface EObject- Overrides:
eGet in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to fetch.resolve - whether to resolve.- Returns:
- the value of the given feature of the object.
- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features.- See Also:
InternalEList.basicIterator(),
InternalEList.basicList(),
EcoreUtil.resolve(EObject, ResourceSet),
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature)
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet in interface EObject- Overrides:
eIsSet in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Returns:
- whether the feature of the object is set.
- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features.- See Also:
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to set.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.java.lang.ClassCastException - if there is a type conflict.ArrayStoreException - if there is a type conflect.- See Also:
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.- See Also:
EObject.eIsSet(EStructuralFeature),
EObject.eSet(EStructuralFeature, Object),
EObject.eGet(EStructuralFeature, boolean)