Class ErdData


  • public class ErdData
    extends com._1c.g5.v8.dt.diagram.framework.model.Data
    Data implementation for ERD diagram. ERD data can be collapsed.
    • Constructor Detail

      • ErdData

        public ErdData​(String name)
        Default constructor, initializes data parts containers with zero size.
        Parameters:
        name - - name of this data. Can't be null.
      • ErdData

        public ErdData​(String name,
                       Collection<com._1c.g5.v8.dt.diagram.framework.model.DataPart> dataParts)
        Default constructor, initializes data parts containers with zero size.
        Parameters:
        name - - name of this data. Can't be null.
        dataParts - - data parts of this data. Can't be null.
    • Method Detail

      • isCollapsed

        public boolean isCollapsed()
        Returns true if data is collapsed.
        Returns:
        true if data is collapsed.
      • setCollapsed

        public void setCollapsed​(boolean isCollapsed)
        Sets if data is collapsed
        Parameters:
        isCollapsed - - true if data is collapsed.