Class OperationDescriptionCustom


  • public class OperationDescriptionCustom
    extends Object
    If you add another (optional) `<custom .../>` element to the description element, you can use it to store your own values in the PDF description. The element can occur multiple times and defines an additional entry for the description.
    • Constructor Detail

      • OperationDescriptionCustom

        public OperationDescriptionCustom()
    • Method Detail

      • getKey

        @Nullable
        public @Nullable String getKey()
        Describes the name of the field to be added to the PDF description. The value must not be empty, must be unique, and must not conflict with the other (default) field names (e.g. \"Subject\"). If a name conflict occurs, the entry will be skipped and not entered.
        Returns:
        key
      • setKey

        public void setKey​(String key)
      • getRemove

        @Nullable
        public @Nullable Boolean getRemove()
        If \"true\", then the field is not added but removed. In this case \"value\" has no meaning. If the field is not present, then the entry is skipped.
        Returns:
        remove
      • setRemove

        public void setRemove​(Boolean remove)
      • getValue

        @Nullable
        public @Nullable String getValue()
        Describes the value to be stored in the PDF description.
        Returns:
        value
      • setValue

        public void setValue​(String value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object