|
|||||||||
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.GraphImpl
public class GraphImpl
An implementation of the model object 'Graph'.
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 EList<Edge> |
edges
The cached value of the ' Edges ' containment reference list. |
protected Formula |
formula
The cached value of the ' Formula ' containment reference. |
protected EList<Node> |
nodes
The cached value of the ' Nodes ' containment reference list. |
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 | |
---|---|
GraphImpl()
Default constructor. |
|
GraphImpl(String name)
Convenience constructor. |
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 EList<Node> nodes
Nodes
' containment reference list.
getNodes()
protected EList<Edge> edges
Edges
' containment reference list.
getEdges()
protected Formula formula
Formula
' containment reference.
getFormula()
Constructor Detail |
---|
public GraphImpl()
public GraphImpl(String name)
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class NamedElementImpl
public EList<Node> getNodes()
getNodes
in interface Graph
HenshinPackage.getGraph_Nodes()
,
Node.getGraph()
public EList<Edge> getEdges()
getEdges
in interface Graph
HenshinPackage.getGraph_Edges()
,
Edge.getGraph()
public Formula getFormula()
getFormula
in interface Graph
Graph.setFormula(Formula)
,
HenshinPackage.getGraph_Formula()
public NotificationChain basicSetFormula(Formula newFormula, NotificationChain msgs)
public void setFormula(Formula newFormula)
setFormula
in interface Graph
newFormula
- the new value of the 'Formula' containment reference.Graph.getFormula()
public boolean removeNode(Node node)
removeNode
in interface Graph
public boolean removeEdge(Edge edge)
removeEdge
in interface Graph
public boolean removeNestedCondition(NestedCondition nestedCondition)
removeNestedCondition
in interface Graph
public NestedCondition createPAC(String name)
createPAC
in interface Graph
public NestedCondition createNAC(String name)
createNAC
in interface Graph
public Rule getRule()
getRule
in interface Graph
public Node getNode(String name)
getNode
in interface Graph
public EList<Node> getNodes(EClass nodeType)
getNodes
in interface Graph
public EList<Edge> getEdges(EReference edgeType)
getEdges
in interface Graph
public EList<NestedCondition> getNestedConditions()
getNestedConditions
in interface Graph
public NestedCondition getPAC(String name)
getPAC
in interface Graph
public NestedCondition getNAC(String name)
getNAC
in interface Graph
public EList<NestedCondition> getPACs()
getPACs
in interface Graph
public EList<NestedCondition> getNACs()
getNACs
in interface Graph
public boolean isLhs()
isLhs
in interface Graph
public boolean isRhs()
isRhs
in interface Graph
public boolean isHost()
public boolean isNestedCondition()
isNestedCondition
in interface Graph
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 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 eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class NamedElementImpl
public String toString()
NamedElementImpl
toString
in class NamedElementImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |