Class KindBigraphBuilder
java.lang.Object
org.bigraphs.framework.core.BigraphBuilderSupport<S>
org.bigraphs.framework.core.impl.pure.PureBigraphBuilder<KindSignature>
org.bigraphs.framework.core.impl.pure.KindBigraphBuilder
- All Implemented Interfaces:
BigraphBuilder<KindSignature>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bigraphs.framework.core.impl.pure.PureBigraphBuilder
PureBigraphBuilder.Hierarchy
Nested classes/interfaces inherited from class org.bigraphs.framework.core.BigraphBuilderSupport
BigraphBuilderSupport.InstanceParameter
Nested classes/interfaces inherited from interface org.bigraphs.framework.core.BigraphBuilder
BigraphBuilder.NodeHierarchy<S extends Signature<? extends Control<?,
?>>> -
Field Summary
Fields inherited from class org.bigraphs.framework.core.impl.pure.PureBigraphBuilder
availableEdges, availableInnerNames, availableNodes, availableOuterNames, availableRoots, availableSites, loadedInstanceModel, metaModel
Fields inherited from class org.bigraphs.framework.core.BigraphBuilderSupport
DEFAULT_EDGE_PREFIX, DEFAULT_VERTEX_PREFIX
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
KindBigraphBuilder
(KindSignature signature) protected
KindBigraphBuilder
(KindSignature signature, String metaModelFilePath) protected
KindBigraphBuilder
(KindSignature signature, String metaModelFilePath, String instanceModelFilePath) protected
KindBigraphBuilder
(KindSignature signature, EMetaModelData metaModelData) protected
KindBigraphBuilder
(KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, String instanceModelFilePath) protected
KindBigraphBuilder
(KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) protected
KindBigraphBuilder
(org.eclipse.emf.ecore.EObject signatureMetaModel) protected
KindBigraphBuilder
(org.eclipse.emf.ecore.EObject signatureInstanceModel, String metaModelFilePath) protected
KindBigraphBuilder
(org.eclipse.emf.ecore.EObject signatureInstanceModel, String metaModelFilePath, String instanceModelFilePath) protected
KindBigraphBuilder
(org.eclipse.emf.ecore.EObject signatureMetaModel, EMetaModelData metaModelData) protected
KindBigraphBuilder
(org.eclipse.emf.ecore.EObject signatureMetaModel, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) -
Method Summary
Modifier and TypeMethodDescriptionstatic KindBigraphBuilder
create
(@NonNull KindSignature signature) Should not be directly called by the user.static KindBigraphBuilder
create
(@NonNull KindSignature signature, @NonNull org.eclipse.emf.ecore.EPackage bigraphMetaModel, String instanceModelFilePath) static KindBigraphBuilder
create
(@NonNull KindSignature signature, String metaModelFileName) static KindBigraphBuilder
create
(@NonNull KindSignature signature, String metaModelFilePath, String instanceModelFilePath) Should not be directly called by the user.static KindBigraphBuilder
create
(@NonNull KindSignature signature, EMetaModelData metaModelData) Should not be directly called by the user.static KindBigraphBuilder
create
(@NonNull KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) static KindBigraphBuilder
create
(@NonNull org.eclipse.emf.ecore.EObject signatureInstance) static KindBigraphBuilder
static KindBigraphBuilder
create
(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, String metaModelFilePath, String instanceModelFilePath) static KindBigraphBuilder
create
(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, EMetaModelData metaModelData) static KindBigraphBuilder
create
(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) Methods inherited from class org.bigraphs.framework.core.impl.pure.PureBigraphBuilder
addInnerNameTo, checkIfNodeIsConnectable, clearIntermediateResults, closeAllInnerNames, closeAllOuterNames, closeInnerName, closeInnerName, closeInnerName, closeInnerNames, closeOuterName, closeOuterName, closeOuterName, connectByEdge, connectInnerNames, connectInnerNames, connectInnerToLink, connectInnerToOuterName, connectInnerToOuterName0, connectNodeToInnerName, connectNodeToInnerNames, connectNodeToOuterName, connectToEdge, connectToLinkUsingIndex, create, create, create, create, create, create, createBigraph, createEdgeOfEClass, createEdgeOfEClass, createEdgeOfEClass0, createInnerName, createInnerNameOfEClass, createNodeOfEClass, createNodeOfEClass, createOuterName, createOuterNameOfEClass, createPortWithIndex, createRoot, createRootOfEClass, createSiteOfEClass, getAvailableEClasses, getAvailableEReferences, getInstanceModel, getMetaModel, hierarchy, hierarchy, isConnectedWithLink, loadSignatureMetaModel, makeGround, spawnNewOne
Methods inherited from class org.bigraphs.framework.core.BigraphBuilderSupport
assertSortingIsEnsuredForControl, assertSortingIsEnsuredForControl, createBBigraphContainer, createIndexSupplier, createNameSupplier, executeValidationChain, getSignatureFromMetaModel, isEdge, isNode, isOuterName, isRoot
-
Constructor Details
-
KindBigraphBuilder
-
KindBigraphBuilder
protected KindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureMetaModel) -
KindBigraphBuilder
protected KindBigraphBuilder(KindSignature signature, EMetaModelData metaModelData) throws BigraphMetaModelLoadingFailedException -
KindBigraphBuilder
protected KindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureMetaModel, EMetaModelData metaModelData) -
KindBigraphBuilder
protected KindBigraphBuilder(KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) -
KindBigraphBuilder
protected KindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureMetaModel, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) -
KindBigraphBuilder
protected KindBigraphBuilder(KindSignature signature, String metaModelFilePath, String instanceModelFilePath) throws BigraphMetaModelLoadingFailedException -
KindBigraphBuilder
protected KindBigraphBuilder(KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, String instanceModelFilePath) throws BigraphMetaModelLoadingFailedException -
KindBigraphBuilder
-
KindBigraphBuilder
protected KindBigraphBuilder(KindSignature signature, String metaModelFilePath) throws BigraphMetaModelLoadingFailedException -
KindBigraphBuilder
protected KindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureInstanceModel, String metaModelFilePath)
-
-
Method Details
-
create
public static KindBigraphBuilder create(@NonNull KindSignature signature, String metaModelFilePath, String instanceModelFilePath) throws BigraphMetaModelLoadingFailedException Should not be directly called by the user. Instead use theAbstractBigraphFactory
.- Parameters:
instanceModelFilePath
- file path to the instance modelmetaModelFilePath
- the file to the Ecore meta modelsignature
- the signature for the builder and the generated bigraph- Returns:
- a configured builder with the bigraph instance loaded
- Throws:
BigraphMetaModelLoadingFailedException
- If the provided signature metamodel does not conform the the builders signature typeS
-
create
public static KindBigraphBuilder create(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, String metaModelFilePath, String instanceModelFilePath) - Throws:
SignatureValidationFailedException
- If the provided signature instance model does not conform the the builders signature typeS
-
create
public static KindBigraphBuilder create(@NonNull KindSignature signature, @NonNull org.eclipse.emf.ecore.EPackage bigraphMetaModel, String instanceModelFilePath) -
create
public static KindBigraphBuilder create(@NonNull KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) throws BigraphMetaModelLoadingFailedException - Throws:
BigraphMetaModelLoadingFailedException
- If the provided bigraph metamodel could not be loaded
-
create
public static KindBigraphBuilder create(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) - Throws:
SignatureValidationFailedException
- If the provided signature instance model does not conform the the builders signature typeS
-
create
public static KindBigraphBuilder create(@NonNull KindSignature signature) throws BigraphMetaModelLoadingFailedException Should not be directly called by the user. Instead use theAbstractBigraphFactory
.- Parameters:
signature
- the signature for the builder- Returns:
- a pure bigraph builder with the given signature
- Throws:
BigraphMetaModelLoadingFailedException
- If the provided bigraph metamodel does not conform the the builders signature typeS
-
create
public static KindBigraphBuilder create(@NonNull org.eclipse.emf.ecore.EObject signatureInstance) throws BigraphMetaModelLoadingFailedException - Throws:
SignatureValidationFailedException
- If the provided signature instance model does not conform the the builders signature typeS
BigraphMetaModelLoadingFailedException
-
create
public static KindBigraphBuilder create(@NonNull KindSignature signature, EMetaModelData metaModelData) throws BigraphMetaModelLoadingFailedException Should not be directly called by the user. Instead use theAbstractBigraphFactory
.- Parameters:
signature
- the signature for the builder and generated bigraphmetaModelData
- the meta data to use for the model- Returns:
- a pure bigraph builder over the given signature
- Throws:
BigraphMetaModelLoadingFailedException
- If the provided bigraph metamodel does not conform the the builders signature typeS
-
create
public static KindBigraphBuilder create(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, EMetaModelData metaModelData) throws BigraphMetaModelLoadingFailedException - Throws:
SignatureValidationFailedException
- If the provided signature instance model does not conform the the builders signature typeS
BigraphMetaModelLoadingFailedException
-
create
public static KindBigraphBuilder create(@NonNull KindSignature signature, String metaModelFileName) throws BigraphMetaModelLoadingFailedException - Throws:
BigraphMetaModelLoadingFailedException
- If the provided bigraph metamodel does not conform the the builders signature typeS
-
create
public static KindBigraphBuilder create(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, String metaModelFileName) throws BigraphMetaModelLoadingFailedException - Throws:
SignatureValidationFailedException
- If the provided signature instance model does not conform the the builders signature typeS
BigraphMetaModelLoadingFailedException
-