Class DiagramNode

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.onwbp.base.text.UserMessage getLabel()
      Returns the node label.
      java.lang.String getName()
      Returns the node name.
      DiagramNode getParent()
      Returns the parent node.
      boolean isDatasetField()
      Returns true if the current node is a field contained in a dataset node and not in a table node.
      boolean isDatasetGroup()
      Returns true if the current node is a group contained in a dataset node and not in a table node.
      boolean isTable()
      Returns true if the current node is a table node.
      boolean isTableField()
      Returns true if the current node is a field contained in a table node.
      boolean isTableGroup()
      Returns true if the current node is a group contained in a table node.
      void setLabel​(com.onwbp.base.text.UserMessage label)
      Sets the node label.
      void setLabel​(java.lang.String label)
      Sets the node label.
      • Methods inherited from class java.lang.Object

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

      • getName

        public java.lang.String getName()
        Returns the node name.
      • getLabel

        public com.onwbp.base.text.UserMessage getLabel()
        Returns the node label.
      • setLabel

        public void setLabel​(com.onwbp.base.text.UserMessage label)
        Sets the node label.
        Parameters:
        label - a user message for the node label
        See Also:
        UserMessage
      • setLabel

        public void setLabel​(java.lang.String label)
        Sets the node label.
        Parameters:
        label - a string for the node label
      • getParent

        public DiagramNode getParent()
        Returns the parent node.
      • isTable

        public boolean isTable()
        Returns true if the current node is a table node.
      • isDatasetGroup

        public boolean isDatasetGroup()
        Returns true if the current node is a group contained in a dataset node and not in a table node.
      • isTableField

        public boolean isTableField()
        Returns true if the current node is a field contained in a table node.
      • isTableGroup

        public boolean isTableGroup()
        Returns true if the current node is a group contained in a table node.
      • isDatasetField

        public boolean isDatasetField()
        Returns true if the current node is a field contained in a dataset node and not in a table node.