Class DataModel

java.lang.Object
com.independentsoft.office.diagrams.DataModel

public class DataModel extends Object
The Class DataModel.
  • Constructor Details

    • DataModel

      public DataModel()
      Instantiates a new data model.
  • Method Details

    • clone

      public DataModel clone()
      Overrides:
      clone in class Object
    • toXml

      public String toXml()
      To xml.
      Returns:
      the string
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBackgroundFormatting

      public BackgroundFormatting getBackgroundFormatting()
      Gets the background formatting.
      Returns:
      the background formatting
    • setBackgroundFormatting

      public void setBackgroundFormatting(BackgroundFormatting backgroundFormatting)
      Sets the background formatting.
      Parameters:
      backgroundFormatting - the new background formatting
    • getConnections

      public List<Connection> getConnections()
      Gets the connections.
      Returns:
      the connections
    • getPoints

      public List<Point> getPoints()
      Gets the points.
      Returns:
      the points
    • getWhole

      public Whole getWhole()
      Gets the whole.
      Returns:
      the whole
    • setWhole

      public void setWhole(Whole whole)
      Sets the whole.
      Parameters:
      whole - the new whole
    • getExtensionList

      public ExtensionList getExtensionList()
      Gets the data-model extension list (dgm:extLst).
      Returns:
      the extension list
    • setExtensionList

      public void setExtensionList(ExtensionList extensionList)
      Sets the data-model extension list (dgm:extLst).
      Parameters:
      extensionList - the new extension list
    • findDataModelExtension

      public DataModelExtension findDataModelExtension()
      Gets the dsp:dataModelExt extension referencing the pre-rendered diagram drawing part (resolved against the HOST part's relationships), if present.
      Returns:
      the data model extension
    • getDrawingRelationshipId

      public String getDrawingRelationshipId()
      Gets the relationship id the dsp:dataModelExt relId=... extension points at.
      Returns:
      the drawing relationship id