Class KindBigraphBuilder
java.lang.Object
org.bigraphs.framework.core.BigraphBuilderSupport<KindSignature>
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.HierarchyNested classes/interfaces inherited from class org.bigraphs.framework.core.BigraphBuilderSupport
BigraphBuilderSupport.InstanceParameterNested 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, metaModelFields inherited from class org.bigraphs.framework.core.BigraphBuilderSupport
DEFAULT_EDGE_PREFIX, DEFAULT_VERTEX_PREFIX -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedKindBigraphBuilder(KindSignature signature) protectedKindBigraphBuilder(KindSignature signature, String metaModelFilePath) protectedKindBigraphBuilder(KindSignature signature, String metaModelFilePath, String instanceModelFilePath) protectedKindBigraphBuilder(KindSignature signature, EMetaModelData metaModelData) protectedKindBigraphBuilder(KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, String instanceModelFilePath) protectedKindBigraphBuilder(KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) protectedKindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureMetaModel) protectedKindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureInstanceModel, String metaModelFilePath) protectedKindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureInstanceModel, String metaModelFilePath, String instanceModelFilePath) protectedKindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureMetaModel, EMetaModelData metaModelData) protectedKindBigraphBuilder(org.eclipse.emf.ecore.EObject signatureMetaModel, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) -
Method Summary
Modifier and TypeMethodDescriptionstatic KindBigraphBuildercreate(@NonNull KindSignature signature) Should not be directly called by the user.static KindBigraphBuildercreate(@NonNull KindSignature signature, String metaModelFileName) static KindBigraphBuildercreate(@NonNull KindSignature signature, String metaModelFilePath, String instanceModelFilePath) Should not be directly called by the user.static KindBigraphBuildercreate(@NonNull KindSignature signature, EMetaModelData metaModelData) Should not be directly called by the user.static KindBigraphBuildercreate(@NonNull KindSignature signature, @NonNull org.eclipse.emf.ecore.EPackage bigraphMetaModel, String instanceModelFilePath) static KindBigraphBuildercreate(@NonNull KindSignature signature, org.eclipse.emf.ecore.EPackage metaModel, org.eclipse.emf.ecore.EObject instanceModel) static KindBigraphBuildercreate(@NonNull org.eclipse.emf.ecore.EObject signatureInstance) static KindBigraphBuilderstatic KindBigraphBuildercreate(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, String metaModelFilePath, String instanceModelFilePath) static KindBigraphBuildercreate(@NonNull org.eclipse.emf.ecore.EObject signatureInstance, EMetaModelData metaModelData) static KindBigraphBuildercreate(@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
addInnerTo, checkIfNodeIsConnectable, clearIntermediateResults, closeInner, closeInner, closeInner, closeInner, closeInner, closeOuter, closeOuter, closeOuter, closeOuter, connectByEdge, connectInnerToLink, connectNodeToOuterName, connectToEdge, connectToLinkUsingIndex, create, create, create, create, create, create, create, createEdgeOfEClass, createEdgeOfEClass, createEdgeOfEClass0, createInner, createInnerNameOfEClass, createNodeOfEClass, createNodeOfEClass, createOuter, createOuterNameOfEClass, createPortWithIndex, createRootOfEClass, createSiteOfEClass, getAvailableEClasses, getAvailableEReferences, getInstanceModel, getMetaModel, hierarchy, hierarchy, isConnectedWithLink, linkInner, linkInner, linkInnerToOuter, linkInnerToOuter0, linkNodeToInner, linkNodeToInner, loadSignatureMetaModel, makeGround, root, spawnMethods inherited from class org.bigraphs.framework.core.BigraphBuilderSupport
assertSortingIsEnsuredForControl, assertSortingIsEnsuredForControl, createBBigraphContainer, createIndexSupplier, createNameSupplier, executeValidationChain, getSignatureFromMetaModel, isEdge, isNode, isOuter, 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:
signature- the signature for the builder and the generated bigraphmetaModelFilePath- the file to the Ecore meta modelinstanceModelFilePath- file path to the instance model- 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 typeSBigraphMetaModelLoadingFailedException
-
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 typeSBigraphMetaModelLoadingFailedException
-
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 typeSBigraphMetaModelLoadingFailedException
-