code: public Integer getPrecision()
     {
        if(childNode.getAttribute("precision") != null && !childNode.getAttribute("precision").equals("null"))
        {
           return Integer.valueOf(childNode.getAttribute("precision"));
        }
        return null;
     }
docs: Returns the <code>precision</code> attribute
  @return the value defined for the attribute <code>precision</code>