Interface NodeLabel

    • Field Detail

      • PROP_PRIMARY_INTERFACE_SELECT_METHOD

        static final java.lang.String PROP_PRIMARY_INTERFACE_SELECT_METHOD
        The property string in the properties file which specifies the method to use for determining which interface is primary on a multi-interface box.
        See Also:
        Constant Field Values
      • MAX_NODE_LABEL_LENGTH

        static final int MAX_NODE_LABEL_LENGTH
        Maximum length for node label
        See Also:
        Constant Field Values
      • SELECT_METHOD_MIN

        static final java.lang.String SELECT_METHOD_MIN
        Primary interface selection method MIN. Using this selection method the interface with the smallest numeric IP address is considered the primary interface.
        See Also:
        Constant Field Values
      • SELECT_METHOD_MAX

        static final java.lang.String SELECT_METHOD_MAX
        Primary interface selection method MAX. Using this selection method the interface with the greatest numeric IP address is considered the primary interface.
        See Also:
        Constant Field Values
      • DEFAULT_SELECT_METHOD

        static final java.lang.String DEFAULT_SELECT_METHOD
        Default primary interface select method.
        See Also:
        Constant Field Values
    • Method Detail

      • getLabel

        java.lang.String getLabel()
      • retrieveLabel

        NodeLabel retrieveLabel​(int nodeID)
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • assignLabel

        void assignLabel​(int nodeID,
                         NodeLabel nodeLabel)
                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • computeLabel

        NodeLabel computeLabel​(int nodeID)
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • toString

        java.lang.String toString()
        Overrides:
        toString in class java.lang.Object