Class LogDiagramUtil.LogDiagramElement<S extends org.eclipse.emf.ecore.EObject>
- java.lang.Object
-
- com.sodius.mdw.metamodel.rhapsody.util.LogDiagramUtil.LogDiagramElement<S>
-
- Type Parameters:
S
- The MDWorkbench metaclass
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
LogDiagramUtil.LogDiagram
,LogDiagramUtil.LogGraphElement
- Enclosing class:
- LogDiagramUtil
public abstract static class LogDiagramUtil.LogDiagramElement<S extends org.eclipse.emf.ecore.EObject> extends java.lang.Object implements java.io.Serializable
Simplified representation of a Rhapsody Diagram Element Is public for deserialization purposes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogDiagramElement()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected S
extract(Model model, java.util.Map<java.lang.Object,org.eclipse.emf.ecore.EObject> extractMap)
Extract a Rhapsody Diagram Element from this, and insert it in the modelprotected abstract void
extract(S object, Model model, java.util.Map<java.lang.Object,org.eclipse.emf.ecore.EObject> extractMap)
Extract nested properties of this to an already created Rhapsody Elementprotected abstract java.lang.String
getMetaclass()
protected <T extends LogDiagramUtil.LogDiagramElement<?>>
Tsimplify(java.lang.Object object, java.util.Map<java.lang.Object,LogDiagramUtil.LogDiagramElement> map)
Convert a Rhapsody Element to a simplified version using LogDiagramElement
-
-
-
Method Detail
-
extract
protected S extract(Model model, java.util.Map<java.lang.Object,org.eclipse.emf.ecore.EObject> extractMap) throws java.io.IOException
Extract a Rhapsody Diagram Element from this, and insert it in the model- Parameters:
model
- into which the extracted element should be addedextractMap
- keeps links between LogDiagramElements and Rhapsody Diagram Elements- Returns:
- the extracted Rhapsody Element
- Throws:
java.io.IOException
-
simplify
protected <T extends LogDiagramUtil.LogDiagramElement<?>> T simplify(java.lang.Object object, java.util.Map<java.lang.Object,LogDiagramUtil.LogDiagramElement> map)
Convert a Rhapsody Element to a simplified version using LogDiagramElement- Parameters:
object
- the Rhapsody Element to simplifymap
- keeps links between Rhapsody Element and LogDiagramElements- Returns:
- the LogDiagramElement representing object
-
extract
protected abstract void extract(S object, Model model, java.util.Map<java.lang.Object,org.eclipse.emf.ecore.EObject> extractMap) throws java.io.IOException
Extract nested properties of this to an already created Rhapsody Element- Parameters:
object
- the Rhapsody Element already createdmodel
- the model containing objectextractMap
- keeps links between LogDiagramElement and extracted Rhapsody Element- Throws:
java.io.IOException
-
getMetaclass
protected abstract java.lang.String getMetaclass()
- Returns:
- the Rhapsody metaclass name represented by this LogDiagramElement
-
-