/**
  * set the category of this property
  *
  * @param category The value to set
  * @throws BadFieldValueException if category value not 'internal' or 'external'
  */
 public void setCategoryValue(String category) throws BadFieldValueException {
   if (category.equals("external") || category.equals("internal")) {
     content.addProperty(new TextType(metadata, PDFAPROPPREFIX, CATEGORY, category));
   } else {
     throw new BadFieldValueException(
         "Unexpected value '"
             + category
             + "' for property category (only values 'internal' or 'external' are allowed)");
   }
 }
 /**
  * set the name of this property
  *
  * @param name The value to set
  */
 public void setNameValue(String name) {
   content.addProperty(new TextType(metadata, PDFAPROPPREFIX, NAME, name));
 }
 /**
  * set the value type of this property
  *
  * @param type The value to set
  */
 public void setValueTypeValue(String type) {
   content.addProperty(new TextType(metadata, PDFAPROPPREFIX, VALUETYPE, type));
 }
 /**
  * set the description of this property
  *
  * @param desc The value to set
  */
 public void setDescriptionValue(String desc) {
   content.addProperty(new TextType(metadata, PDFAPROPPREFIX, DESCRIPTION, desc));
 }