Class LogDiagramUtil.LogGraphElement<S extends GraphElement>
- java.lang.Object
-
- com.sodius.mdw.metamodel.rhapsody.util.LogDiagramUtil.LogDiagramElement<S>
-
- com.sodius.mdw.metamodel.rhapsody.util.LogDiagramUtil.LogGraphElement<S>
-
- Type Parameters:
S
- The MDWorkbench metaclass
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
LogDiagramUtil.LogGraphEdge
,LogDiagramUtil.LogGraphNode
- Enclosing class:
- LogDiagramUtil
public abstract static class LogDiagramUtil.LogGraphElement<S extends GraphElement> extends LogDiagramUtil.LogDiagramElement<S>
Simplified representation of a Rhapsody GraphElement Is public for deserialization purposes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description LogDiagramUtil.LogGraphElement<?>
graphicalParent
java.lang.String
modelGUID
java.lang.String
modelMetaclass
java.util.Map<java.lang.String,java.lang.String>
properties
-
Constructor Summary
Constructors Modifier Constructor Description LogGraphElement()
protected
LogGraphElement(GraphElement gn, java.util.Map<java.lang.Object,LogDiagramUtil.LogDiagramElement> simplifyMap)
Created a LogGraphElement from a Rhapsody GraphElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 void
extractProperties(S object, Model model)
Extract stored properties in this and create them in objectprotected java.util.List<java.lang.String>
getDefaultProperties()
-
Methods inherited from class com.sodius.mdw.metamodel.rhapsody.util.LogDiagramUtil.LogDiagramElement
extract, getMetaclass, simplify
-
-
-
-
Field Detail
-
graphicalParent
public LogDiagramUtil.LogGraphElement<?> graphicalParent
-
modelGUID
public java.lang.String modelGUID
-
modelMetaclass
public java.lang.String modelMetaclass
-
properties
public java.util.Map<java.lang.String,java.lang.String> properties
-
-
Constructor Detail
-
LogGraphElement
public LogGraphElement()
-
LogGraphElement
protected LogGraphElement(GraphElement gn, java.util.Map<java.lang.Object,LogDiagramUtil.LogDiagramElement> simplifyMap)
Created a LogGraphElement from a Rhapsody GraphElement- Parameters:
gn
-simplifyMap
- keeps links between Rhapsody Element and LogDiagramElements
-
-
Method Detail
-
getDefaultProperties
protected java.util.List<java.lang.String> getDefaultProperties()
- Returns:
- a list of properties that have to be read from a GraphElement
-
extract
protected void extract(S object, Model model, java.util.Map<java.lang.Object,org.eclipse.emf.ecore.EObject> extractMap) throws java.io.IOException
Description copied from class:LogDiagramUtil.LogDiagramElement
Extract nested properties of this to an already created Rhapsody Element- Specified by:
extract
in classLogDiagramUtil.LogDiagramElement<S extends GraphElement>
- Parameters:
object
- the Rhapsody Element already createdmodel
- the model containing objectextractMap
- keeps links between LogDiagramElement and extracted Rhapsody Element- Throws:
java.io.IOException
-
-