code: public static final String printResourceType(ResourceType value)
     {
        return (Integer.toString(value == null ? ResourceType.WORK.getValue() : value.getValue()));
     }
docs: Print a resource type.
  
  @param value ResourceType instance
  @return resource type value