Class GraphModelSpec


  • public final class GraphModelSpec
    extends com.orchestranetworks.addon.dmdv.GraphSpec
    Provides all specifications of a graph model.
    Since:
    1.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphModelSpec​(CustomGraphModelFactory generator, com.orchestranetworks.service.Session session)
      Constructs the graph specifications from a specific diagram.
      GraphModelSpec​(java.lang.String configurationName)
      Constructs the graph specifications using a configuration name from in the add-on's administrative settings.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CustomGraphModelFactory getGenerator()
      Returns current diagram generator.
      com.orchestranetworks.service.Session getSession()
      Returns the current service session.
      boolean isCloseButtonDisplayed()
      Returns true if the close button is hidden.
      boolean isConfigured()
      Returns true if using a configuration from the add-on's administrative settings; false otherwise.
      void setCloseButtonDisplayed​(boolean isCloseButtonDisplayed)
      Sets the option to display the close button.
      void setSession​(com.orchestranetworks.service.Session session)
      Sets the current service session.
      • Methods inherited from class com.orchestranetworks.addon.dmdv.GraphSpec

        getGraphConfigurationName, isDisplayGraphTitle, setDisplayGraphTitle, setGraphConfigurationName, setOverviewDisplay
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphModelSpec

        public GraphModelSpec​(java.lang.String configurationName)
        Constructs the graph specifications using a configuration name from in the add-on's administrative settings.
        Parameters:
        configurationName - a configuration name
      • GraphModelSpec

        public GraphModelSpec​(CustomGraphModelFactory generator,
                              com.orchestranetworks.service.Session session)
        Constructs the graph specifications from a specific diagram.
        Parameters:
        generator - a specific diagram generator
        session - current service session
        See Also:
        CustomGraphModelFactory
    • Method Detail

      • isConfigured

        public boolean isConfigured()
        Returns true if using a configuration from the add-on's administrative settings; false otherwise.
      • getSession

        public com.orchestranetworks.service.Session getSession()
        Returns the current service session.
      • setSession

        public void setSession​(com.orchestranetworks.service.Session session)
        Sets the current service session.
      • isCloseButtonDisplayed

        public boolean isCloseButtonDisplayed()
        Returns true if the close button is hidden.
      • setCloseButtonDisplayed

        public void setCloseButtonDisplayed​(boolean isCloseButtonDisplayed)
        Sets the option to display the close button.