public String getValueAtLevel(int level)
    {
        /*log.fine("public String getValueAtLevel(int level): called");*/

        // throw new NotImplementedException();
        List<String> pathValue = getPathValue();

        /*log.fine("pathValue.size() = " + pathValue.size());*/

        // Check if the requested level exceeds the label path size, and return null for request off the end.
        if (level >= pathValue.size())
        {
            return null;
        }
        else
        {
            return getPathValue().get(level);
        }
    }
public String getValueAtLevel ( int level ) { List < String > pathValue = getPathValue ( ) ; if ( level >= pathValue . size ( ) ) { return null ; } else { return getPathValue ( ) . get ( level ) ; } }
Gets the label value at the specified level of the hierarchy.

@param  level The level to get the label at.

@return The label value at the specified level of the hierarchy.