Package org.bigraphs.framework.core.impl
Class BigraphEntity<C extends Control>
java.lang.Object
org.bigraphs.framework.core.impl.BigraphEntity<C>
- Type Parameters:
C
- type of the controls
- Direct Known Subclasses:
BigraphEntity.InnerName
,BigraphEntity.Link
,BigraphEntity.NodeEntity
,BigraphEntity.Port
,BigraphEntity.RootEntity
,BigraphEntity.SiteEntity
Wrapper-like classes for the dynamic EMF model of bigraphs. Allowing the user to handle the bigraph entities
without getting in touch with Ecore objects.
Also, helps to access attributes, references, etc. easier by offering methods.
The objects cannot be instatiated with the constructor. Therefore, the builder shall be used.
- Author:
- Dominik Grzelak
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
BigraphEntity.NodeEntity<C extends Control>
static class
static class
static class
static class
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends BigraphEntity>
@NonNull Tstatic @NonNull BigraphEntity.NodeEntity<? extends Control>
createNode
(@NonNull org.eclipse.emf.ecore.EObject param, Control control) boolean
@NonNull org.eclipse.emf.ecore.EObject
getType()
int
hashCode()
toString()
-
Field Details
-
type
-
-
Method Details
-
getInstance
public @NonNull org.eclipse.emf.ecore.EObject getInstance() -
getControl
-
getType
-
toString
-
equals
-
hashCode
public int hashCode() -
create
public static <T extends BigraphEntity> @NonNull T create(@NonNull org.eclipse.emf.ecore.EObject param, @NonNull Class<T> tClass) -
createNode
public static @NonNull BigraphEntity.NodeEntity<? extends Control> createNode(@NonNull org.eclipse.emf.ecore.EObject param, Control control)
-