Class MetadataMarkRelation


  • public class MetadataMarkRelation
    extends Object
    Change the marked state of the selected annotation.
    • Constructor Detail

      • MetadataMarkRelation

        public MetadataMarkRelation()
    • Method Detail

      • getMarked

        @Nullable
        public @Nullable Boolean getMarked()
        If this is set to true, the selected annotation has been marked, otherwise it has been unmarked.
        Returns:
        marked
      • setMarked

        public void setMarked​(Boolean marked)
      • getObjectID

        @Nullable
        public @Nullable String getObjectID()
        The object ID of the annotation. **Info:** A PDF object ID consists of two numbers, where the first number selects the object's number and the second the \"generation\" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.
        Returns:
        objectID
      • setObjectID

        public void setObjectID​(String objectID)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object