|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
A representation of the model object 'Node'.
The following features are supported:
HenshinPackage.getNode()
Method Summary | |
---|---|
EList<Attribute> |
getActionAttributes(Action action)
|
Node |
getActionNode()
|
EList<Edge> |
getAllEdges()
Returns an unmodifiable list of all coinciding edges of a node. Remark: This list is a snapshot of the current set of incoming and outgoing edges i.e. |
Attribute |
getAttribute(EAttribute type)
Returns an Attribute instance according to the give attribute
type. |
EList<Attribute> |
getAttributes()
Returns the value of the 'Attributes' containment reference list. |
Graph |
getGraph()
Returns the value of the 'Graph' container reference. |
EList<Edge> |
getIncoming()
Returns the value of the 'Incoming' reference list. |
EList<Edge> |
getIncoming(EReference type)
Returns an unmodifiable list which contains all incoming edges this node contains, which are of the given type. Remark: This list is a snapshot according to the current set of incoming edges i.e. |
Edge |
getIncoming(EReference type,
Node source)
Returns an Edge with this node as target, the given node as
source and the given type as edge type. |
EList<Edge> |
getOutgoing()
Returns the value of the 'Outgoing' reference list. |
EList<Edge> |
getOutgoing(EReference type)
Returns an unmodifiable list which contains all outgoing edges this node contains, which are of the given type. Remark: This list is a snapshot according to the current set of outgoing edges i.e. |
Edge |
getOutgoing(EReference type,
Node target)
Returns an Edge with this node as source, the given node as
target and the given type as edge type. |
EClass |
getType()
Returns the value of the 'Type' reference. |
void |
setGraph(Graph value)
Sets the value of the ' Graph ' container reference. |
void |
setType(EClass value)
Sets the value of the ' Type ' reference. |
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.henshin.model.GraphElement |
---|
getAction, setAction |
Method Detail |
---|
EClass getType()
setType(EClass)
,
HenshinPackage.getNode_Type()
void setType(EClass value)
Type
' reference.
value
- the new value of the 'Type' reference.getType()
EList<Attribute> getAttributes()
Attribute
.
It is bidirectional and its opposite is 'Node
'.
HenshinPackage.getNode_Attributes()
,
Attribute.getNode()
Graph getGraph()
Nodes
'.
getGraph
in interface GraphElement
setGraph(Graph)
,
HenshinPackage.getNode_Graph()
,
Graph.getNodes()
void setGraph(Graph value)
Graph
' container reference.
value
- the new value of the 'Graph' container reference.getGraph()
EList<Edge> getIncoming()
Edge
.
It is bidirectional and its opposite is 'Target
'.
HenshinPackage.getNode_Incoming()
,
Edge.getTarget()
EList<Edge> getOutgoing()
Edge
.
It is bidirectional and its opposite is 'Source
'.
HenshinPackage.getNode_Outgoing()
,
Edge.getSource()
EList<Edge> getAllEdges()
EList<Edge> getOutgoing(EReference type)
EList<Edge> getIncoming(EReference type)
Edge getOutgoing(EReference type, Node target)
Edge
with this node as source, the given node as
target and the given type as edge type. If no such instance can be found,
null
is returned
Edge getIncoming(EReference type, Node source)
Edge
with this node as target, the given node as
source and the given type as edge type. If no such instance can be found,
null
is returned
Attribute getAttribute(EAttribute type)
Attribute
instance according to the give attribute
type. If no such instance can be found, null
is returned
EList<Attribute> getActionAttributes(Action action)
Node getActionNode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |