code: public Integer getPortNumber()
     {
        if (childNode.getTextValueForPatternName("port-number") != null && !childNode.getTextValueForPatternName("port-number").equals("null")) {
           return Integer.valueOf(childNode.getTextValueForPatternName("port-number"));
        }
        return null;
     }
docs: Returns the <code>port-number</code> element
  @return the node defined for the element <code>port-number</code>