|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HenshinFactory
The Factory for the Henshin model. It provides a create method for each non-abstract class of the model.
HenshinPackage
Field Summary | |
---|---|
static HenshinFactory |
eINSTANCE
The singleton instance of the factory. |
Method Summary | |
---|---|
And |
createAnd()
Returns a new object of class 'And'. |
Annotation |
createAnnotation()
Returns a new object of class 'Annotation'. |
Attribute |
createAttribute()
Returns a new object of class 'Attribute'. |
Attribute |
createAttribute(Node node,
EAttribute type,
String value)
Returns a new object of class 'Attribute'. |
AttributeCondition |
createAttributeCondition()
Returns a new object of class 'Attribute Condition'. |
ConditionalUnit |
createConditionalUnit()
Returns a new object of class 'Conditional Unit'. |
Edge |
createEdge()
Returns a new object of class 'Edge'. |
Edge |
createEdge(Node source,
Node target,
EReference type)
Creates a new edge between two nodes. |
Graph |
createGraph()
Returns a new object of class 'Graph'. |
Graph |
createGraph(String name)
Returns a new object of class 'Graph'. |
IndependentUnit |
createIndependentUnit()
Returns a new object of class 'Independent Unit'. |
IteratedUnit |
createIteratedUnit()
Returns a new object of class 'Iterated Unit'. |
LoopUnit |
createLoopUnit()
Returns a new object of class 'Loop Unit'. |
Mapping |
createMapping()
Returns a new object of class 'Mapping'. |
Mapping |
createMapping(Node origin,
Node image)
Returns a new object of class 'Mapping'. |
Module |
createModule()
Returns a new object of class 'Module'. |
NestedCondition |
createNestedCondition()
Returns a new object of class 'Nested Condition'. |
Node |
createNode()
Returns a new object of class 'Node'. |
Node |
createNode(Graph graph,
EClass type,
String name)
Create a new node and add it to a given graph. |
Not |
createNot()
Returns a new object of class 'Not'. |
Or |
createOr()
Returns a new object of class 'Or'. |
Parameter |
createParameter()
Returns a new object of class 'Parameter'. |
Parameter |
createParameter(String name)
Returns a new object of class 'Parameter'. |
ParameterMapping |
createParameterMapping()
Returns a new object of class 'Parameter Mapping'. |
PriorityUnit |
createPriorityUnit()
Returns a new object of class 'Priority Unit'. |
Rule |
createRule()
Returns a new object of class 'Rule'. |
Rule |
createRule(String name)
Returns a new object of class 'Rule'. |
SequentialUnit |
createSequentialUnit()
Returns a new object of class 'Sequential Unit'. |
Xor |
createXor()
Returns a new object of class 'Xor'. |
HenshinPackage |
getHenshinPackage()
Returns the package supported by this factory. |
Methods inherited from interface org.eclipse.emf.ecore.EFactory |
---|
convertToString, create, createFromString, getEPackage, setEPackage |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 |
Field Detail |
---|
static final HenshinFactory eINSTANCE
Method Detail |
---|
Annotation createAnnotation()
Module createModule()
Rule createRule()
Rule createRule(String name)
name
- The name of the rule.
AttributeCondition createAttributeCondition()
Parameter createParameter()
Parameter createParameter(String name)
name
- Name of the parameter.
Graph createGraph()
Graph createGraph(String name)
name
- Name of the graph.
Mapping createMapping()
Mapping createMapping(Node origin, Node image)
origin
- Origin of the mapping.image
- Image of the mapping.
Node createNode()
Node createNode(Graph graph, EClass type, String name)
graph
- The graph.type
- The type of the node.name
- The name of the node.
Attribute createAttribute()
Attribute createAttribute(Node node, EAttribute type, String value)
type
- Attribute type.value
- Attribute value.
Edge createEdge()
Edge createEdge(Node source, Node target, EReference type)
null
.
source
- Source node.target
- Target node.type
- Edge type.
IndependentUnit createIndependentUnit()
SequentialUnit createSequentialUnit()
ConditionalUnit createConditionalUnit()
PriorityUnit createPriorityUnit()
IteratedUnit createIteratedUnit()
LoopUnit createLoopUnit()
NestedCondition createNestedCondition()
And createAnd()
Or createOr()
Not createNot()
Xor createXor()
ParameterMapping createParameterMapping()
HenshinPackage getHenshinPackage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |