|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.henshin.model.impl.ModelElementImpl org.eclipse.emf.henshin.model.impl.NamedElementImpl org.eclipse.emf.henshin.model.impl.NodeImpl
public class NodeImpl
An implementation of the model object 'Node'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected static Action |
ACTION_EDEFAULT
The default value of the ' Action ' attribute. |
protected EList<Attribute> |
attributes
The cached value of the ' Attributes ' containment reference list. |
protected EList<Edge> |
incoming
The cached value of the ' Incoming ' reference list. |
protected EList<Edge> |
outgoing
The cached value of the ' Outgoing ' reference list. |
protected EClass |
type
The cached value of the ' Type ' reference. |
Fields inherited from class org.eclipse.emf.henshin.model.impl.NamedElementImpl |
---|
description, DESCRIPTION_EDEFAULT, name, NAME_EDEFAULT |
Fields inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl |
---|
annotations |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
NodeImpl()
|
|
NodeImpl(String name,
EClass type)
|
Methods inherited from class org.eclipse.emf.henshin.model.impl.NamedElementImpl |
---|
getDescription, getName, setDescription, setName |
Methods inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl |
---|
getAnnotations |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.henshin.model.NamedElement |
---|
getDescription, getName, setDescription, setName |
Methods inherited from interface org.eclipse.emf.henshin.model.ModelElement |
---|
getAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected static final Action ACTION_EDEFAULT
Action
' attribute.
getAction()
protected EClass type
Type
' reference.
getType()
protected EList<Attribute> attributes
Attributes
' containment reference list.
getAttributes()
protected EList<Edge> incoming
Incoming
' reference list.
getIncoming()
protected EList<Edge> outgoing
Outgoing
' reference list.
getOutgoing()
Constructor Detail |
---|
public NodeImpl()
public NodeImpl(String name, EClass type)
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class NamedElementImpl
public Action getAction()
getAction
in interface GraphElement
GraphElement.setAction(Action)
,
HenshinPackage.getGraphElement_Action()
public void setAction(Action action)
setAction
in interface GraphElement
action
- the new value of the 'Action' attribute.GraphElement.getAction()
public EClass getType()
getType
in interface Node
Node.setType(EClass)
,
HenshinPackage.getNode_Type()
public EClass basicGetType()
public void setType(EClass newType)
setType
in interface Node
newType
- the new value of the 'Type' reference.Node.getType()
public EList<Attribute> getAttributes()
getAttributes
in interface Node
HenshinPackage.getNode_Attributes()
,
Attribute.getNode()
public Graph getGraph()
getGraph
in interface GraphElement
getGraph
in interface Node
Node.setGraph(Graph)
,
HenshinPackage.getNode_Graph()
,
Graph.getNodes()
public NotificationChain basicSetGraph(Graph newGraph, NotificationChain msgs)
public void setGraph(Graph newGraph)
setGraph
in interface Node
newGraph
- the new value of the 'Graph' container reference.Node.getGraph()
public EList<Edge> getIncoming()
getIncoming
in interface Node
HenshinPackage.getNode_Incoming()
,
Edge.getTarget()
public EList<Edge> getOutgoing()
getOutgoing
in interface Node
HenshinPackage.getNode_Outgoing()
,
Edge.getSource()
public EList<Edge> getAllEdges()
getAllEdges
in interface Node
public EList<Edge> getOutgoing(EReference edgeType)
getOutgoing
in interface Node
public EList<Edge> getIncoming(EReference edgeType)
getIncoming
in interface Node
public Attribute getAttribute(EAttribute attributeType)
getAttribute
in interface Node
public EList<Attribute> getActionAttributes(Action action)
getActionAttributes
in interface Node
public Node getActionNode()
getActionNode
in interface Node
public Edge getOutgoing(EReference type, Node target)
getOutgoing
in interface Node
public Edge getIncoming(EReference type, Node source)
getIncoming
in interface Node
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ModelElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class NamedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class NamedElementImpl
public boolean eIsSetGen(int featureID)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class NamedElementImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
eBaseStructuralFeatureID
in interface InternalEObject
eBaseStructuralFeatureID
in class BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
eDerivedStructuralFeatureID
in interface InternalEObject
eDerivedStructuralFeatureID
in class BasicEObjectImpl
public String toString()
NamedElementImpl
toString
in class NamedElementImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |