Package net.webpdf.wsclient.openapi
Class MetadataMarkup
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataMarkup
-
public class MetadataMarkup extends Object
Defines a set of attributes for text markup annotations.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_CREATORstatic StringJSON_PROPERTY_INTENTSstatic StringJSON_PROPERTY_OPACITYstatic StringJSON_PROPERTY_RELATIONstatic StringJSON_PROPERTY_RICH_CONTENTSstatic StringJSON_PROPERTY_SUBJECT
-
Constructor Summary
Constructors Constructor Description MetadataMarkup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataMarkupcreationDate(String creationDate)MetadataMarkupcreator(String creator)booleanequals(Object o)@Nullable StringgetCreationDate()The date of the annotation's creation.@Nullable StringgetCreator()The name of the annotation's author.@Nullable StringgetIntents()The annotation's intents.@Nullable IntegergetOpacity()The annotations opacity as a percentage, where 100 is fully oqaque and 0 is fully transparent.@Nullable MetadataRelationMarkupgetRelation()Get relation@Nullable StringgetRichContents()A richtext string containing defining style and contents of the annotation.@Nullable StringgetSubject()The annotation's subject.inthashCode()MetadataMarkupintents(String intents)MetadataMarkupopacity(Integer opacity)MetadataMarkuprelation(MetadataRelationMarkup relation)MetadataMarkuprichContents(String richContents)voidsetCreationDate(String creationDate)voidsetCreator(String creator)voidsetIntents(String intents)voidsetOpacity(Integer opacity)voidsetRelation(MetadataRelationMarkup relation)voidsetRichContents(String richContents)voidsetSubject(String subject)MetadataMarkupsubject(String subject)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CREATION_DATE
public static final String JSON_PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATOR
public static final String JSON_PROPERTY_CREATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTENTS
public static final String JSON_PROPERTY_INTENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPACITY
public static final String JSON_PROPERTY_OPACITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RELATION
public static final String JSON_PROPERTY_RELATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RICH_CONTENTS
public static final String JSON_PROPERTY_RICH_CONTENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBJECT
public static final String JSON_PROPERTY_SUBJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
creationDate
public MetadataMarkup creationDate(String creationDate)
-
getCreationDate
@Nullable public @Nullable String getCreationDate()
The date of the annotation's creation. This string will contain the date in ASN.1 standard format. (D:YYYYMMDDHHmmSSOHH'mm)- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(String creationDate)
-
creator
public MetadataMarkup creator(String creator)
-
getCreator
@Nullable public @Nullable String getCreator()
The name of the annotation's author.- Returns:
- creator
-
setCreator
public void setCreator(String creator)
-
intents
public MetadataMarkup intents(String intents)
-
getIntents
@Nullable public @Nullable String getIntents()
The annotation's intents. Depending on the annotation sub type the intents value shall serve further purposes.- Returns:
- intents
-
setIntents
public void setIntents(String intents)
-
opacity
public MetadataMarkup opacity(Integer opacity)
-
getOpacity
@Nullable public @Nullable Integer getOpacity()
The annotations opacity as a percentage, where 100 is fully oqaque and 0 is fully transparent. minimum: 0 maximum: 100- Returns:
- opacity
-
setOpacity
public void setOpacity(Integer opacity)
-
relation
public MetadataMarkup relation(MetadataRelationMarkup relation)
-
getRelation
@Nullable public @Nullable MetadataRelationMarkup getRelation()
Get relation- Returns:
- relation
-
setRelation
public void setRelation(MetadataRelationMarkup relation)
-
richContents
public MetadataMarkup richContents(String richContents)
-
getRichContents
@Nullable public @Nullable String getRichContents()
A richtext string containing defining style and contents of the annotation. (This String shall conform to the richtext conventions of the XML Forms Specification (XFA)).- Returns:
- richContents
-
setRichContents
public void setRichContents(String richContents)
-
subject
public MetadataMarkup subject(String subject)
-
getSubject
@Nullable public @Nullable String getSubject()
The annotation's subject.- Returns:
- subject
-
setSubject
public void setSubject(String subject)
-
-