Class DynamicSignatureTransformer
java.lang.Object
org.bigraphs.grgen.converter.TransformerSupport
org.bigraphs.grgen.converter.SignatureTransformer
org.bigraphs.grgen.converter.impl.DynamicSignatureTransformer
- All Implemented Interfaces:
BaseTransformer<org.bigraphs.framework.core.Signature<?>>
This class transforms an Ecore bigraph metamodel (i.e., a type graph extended by a signature) to GrGen.NET's graph metamodel format.
The graph metamodel resembles the concrete syntax of GrGen.NET's Graph Model Language.
GrGen.NET's graph metamodel represents essentially a control-compatible extension of the basic type graph of bigraphs (refer to [KeTG16]).
-
Field Summary
Fields inherited from class org.bigraphs.grgen.converter.TransformerSupport
DEFAULT_WHITESPACE_CHAR, LINE_SEP
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bigraphs.grgen.converter.TransformerSupport
assertCorrectClassType, assertPrimeAndGround, closeBlock, closeClassDefinition, closeClassDefinitionWithAttributes, createAbstractEdgeClass, createAbstractNodeClass, createEdge, createEdgeClass, createGraphlet, createNodeClass, createNodeInstance, createNodeInstance, createVarTypeDecl, createVarTypeDeclWithComma, createVarTypeDeclWithComma, extendClass, nodeTypeOf, openRuleModifierBlock, openRuleReplaceBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bigraphs.grgen.converter.BaseTransformer
createNameSupplier, toOutputStream
-
Constructor Details
-
DynamicSignatureTransformer
public DynamicSignatureTransformer()
-
-
Method Details
-
toString
This transforms an Ecore bigraph metamodel (type graph extended by a signature) to GrGen.NET's graph metamodel format.- Specified by:
toString
in interfaceBaseTransformer<org.bigraphs.framework.core.Signature<?>>
- Specified by:
toString
in classSignatureTransformer
- Parameters:
signature
- the signature to transform- Returns:
- GrGen.NET's graph metamodel (i.e., a control-compatible extension of the basic type graph of bigraphs)
-