Package net.webpdf.wsclient.openapi
Class MetadataCommentRelation
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataCommentRelation
-
public class MetadataCommentRelation extends Object
Adds a textual comment to the selected annotation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMMENTstatic StringJSON_PROPERTY_OBJECT_I_D
-
Constructor Summary
Constructors Constructor Description MetadataCommentRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataCommentRelationcomment(String comment)booleanequals(Object o)@Nullable StringgetComment()The textual comment to add.@Nullable StringgetObjectID()The object ID of the annotation.inthashCode()MetadataCommentRelationobjectID(String objectID)voidsetComment(String comment)voidsetObjectID(String objectID)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COMMENT
public static final String JSON_PROPERTY_COMMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OBJECT_I_D
public static final String JSON_PROPERTY_OBJECT_I_D
- See Also:
- Constant Field Values
-
-
Method Detail
-
comment
public MetadataCommentRelation comment(String comment)
-
getComment
@Nullable public @Nullable String getComment()
The textual comment to add.- Returns:
- comment
-
setComment
public void setComment(String comment)
-
objectID
public MetadataCommentRelation objectID(String objectID)
-
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)
-
-