Class ContextMapModelConverter

java.lang.Object
org.contextmapper.dsl.generator.contextmap.ContextMapModelConverter

public class ContextMapModelConverter extends Object
Converts a CML Context Map into the Context Map Generator model.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.contextmapper.contextmap.generator.model.ContextMap
    convert(ContextMap cmlContextMap)
    Converts the CML Context Map into a Context Map Generator Context Map.
    org.contextmapper.contextmap.generator.model.ContextMap
    convert(ContextMap cmlContextMap, boolean useNameAndImplementationTechnologyLabels)
    Converts the CML Context Map into a Context Map Generator Context Map.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ContextMapModelConverter

      public ContextMapModelConverter()
  • Method Details

    • convert

      public org.contextmapper.contextmap.generator.model.ContextMap convert(ContextMap cmlContextMap)
      Converts the CML Context Map into a Context Map Generator Context Map.
      Parameters:
      cmlContextMap - the CML Context Map for which you want to generate a graphical Context Map
      Returns:
      the Context Map Generator Context Map
    • convert

      public org.contextmapper.contextmap.generator.model.ContextMap convert(ContextMap cmlContextMap, boolean useNameAndImplementationTechnologyLabels)
      Converts the CML Context Map into a Context Map Generator Context Map.
      Parameters:
      cmlContextMap - the CML Context Map for which you want to generate a graphical Context Map
      useNameAndImplementationTechnologyLabels - defines whether name and implementation technology on relationships shall be mapped or not
      Returns:
      the Context Map Generator Context Map