Package net.webpdf.wsclient.openapi
Class MetadataDescription
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataDescription
-
public class MetadataDescription extends Object
The document's description contains a number of metadata attributes, that further describe the author, creation, contents etc of the document.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APPLICATIONstatic StringJSON_PROPERTY_AUTHORstatic StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_CREATORstatic StringJSON_PROPERTY_CUSTOMstatic StringJSON_PROPERTY_KEYWORDSstatic StringJSON_PROPERTY_MODIFICATION_DATEstatic StringJSON_PROPERTY_PRODUCERstatic StringJSON_PROPERTY_SUBJECTstatic StringJSON_PROPERTY_TITLE
-
Constructor Summary
Constructors Constructor Description MetadataDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataDescriptionaddAuthorItem(MetadataAuthor authorItem)MetadataDescriptionaddCustomItem(MetadataCustomDescription customItem)MetadataDescriptionaddKeywordsItem(MetadataKeyword keywordsItem)MetadataDescriptionapplication(String application)MetadataDescriptionauthor(List<MetadataAuthor> author)MetadataDescriptioncreationDate(String creationDate)MetadataDescriptioncreator(String creator)MetadataDescriptioncustom(List<MetadataCustomDescription> custom)booleanequals(Object o)@Nullable StringgetApplication()The application used to create the document.@Nullable List<MetadataAuthor>getAuthor()Get author@Nullable StringgetCreationDate()The date of the document's creation.@Nullable StringgetCreator()If the document has been converted to a PDF from another format, this is the name of the application, that created the original document.@Nullable List<MetadataCustomDescription>getCustom()Get custom@Nullable List<MetadataKeyword>getKeywords()Get keywords@Nullable StringgetModificationDate()The date of the most recent modification of the document.@Nullable StringgetProducer()If the document has been converted to a PDF from another format, this is the name of the application, that converted it.@Nullable StringgetSubject()The document's subject.@Nullable StringgetTitle()The document's title.inthashCode()MetadataDescriptionkeywords(List<MetadataKeyword> keywords)MetadataDescriptionmodificationDate(String modificationDate)MetadataDescriptionproducer(String producer)voidsetApplication(String application)voidsetAuthor(List<MetadataAuthor> author)voidsetCreationDate(String creationDate)voidsetCreator(String creator)voidsetCustom(List<MetadataCustomDescription> custom)voidsetKeywords(List<MetadataKeyword> keywords)voidsetModificationDate(String modificationDate)voidsetProducer(String producer)voidsetSubject(String subject)voidsetTitle(String title)MetadataDescriptionsubject(String subject)MetadataDescriptiontitle(String title)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_APPLICATION
public static final String JSON_PROPERTY_APPLICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHOR
public static final String JSON_PROPERTY_AUTHOR
- See Also:
- Constant Field Values
-
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_CUSTOM
public static final String JSON_PROPERTY_CUSTOM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEYWORDS
public static final String JSON_PROPERTY_KEYWORDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODIFICATION_DATE
public static final String JSON_PROPERTY_MODIFICATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRODUCER
public static final String JSON_PROPERTY_PRODUCER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBJECT
public static final String JSON_PROPERTY_SUBJECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
application
public MetadataDescription application(String application)
-
getApplication
@Nullable public @Nullable String getApplication()
The application used to create the document.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
author
public MetadataDescription author(List<MetadataAuthor> author)
-
addAuthorItem
public MetadataDescription addAuthorItem(MetadataAuthor authorItem)
-
getAuthor
@Nullable public @Nullable List<MetadataAuthor> getAuthor()
Get author- Returns:
- author
-
setAuthor
public void setAuthor(List<MetadataAuthor> author)
-
creationDate
public MetadataDescription creationDate(String creationDate)
-
getCreationDate
@Nullable public @Nullable String getCreationDate()
The date of the document's creation.- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(String creationDate)
-
creator
public MetadataDescription creator(String creator)
-
getCreator
@Nullable public @Nullable String getCreator()
If the document has been converted to a PDF from another format, this is the name of the application, that created the original document.- Returns:
- creator
-
setCreator
public void setCreator(String creator)
-
custom
public MetadataDescription custom(List<MetadataCustomDescription> custom)
-
addCustomItem
public MetadataDescription addCustomItem(MetadataCustomDescription customItem)
-
getCustom
@Nullable public @Nullable List<MetadataCustomDescription> getCustom()
Get custom- Returns:
- custom
-
setCustom
public void setCustom(List<MetadataCustomDescription> custom)
-
keywords
public MetadataDescription keywords(List<MetadataKeyword> keywords)
-
addKeywordsItem
public MetadataDescription addKeywordsItem(MetadataKeyword keywordsItem)
-
getKeywords
@Nullable public @Nullable List<MetadataKeyword> getKeywords()
Get keywords- Returns:
- keywords
-
setKeywords
public void setKeywords(List<MetadataKeyword> keywords)
-
modificationDate
public MetadataDescription modificationDate(String modificationDate)
-
getModificationDate
@Nullable public @Nullable String getModificationDate()
The date of the most recent modification of the document.- Returns:
- modificationDate
-
setModificationDate
public void setModificationDate(String modificationDate)
-
producer
public MetadataDescription producer(String producer)
-
getProducer
@Nullable public @Nullable String getProducer()
If the document has been converted to a PDF from another format, this is the name of the application, that converted it.- Returns:
- producer
-
setProducer
public void setProducer(String producer)
-
subject
public MetadataDescription subject(String subject)
-
getSubject
@Nullable public @Nullable String getSubject()
The document's subject.- Returns:
- subject
-
setSubject
public void setSubject(String subject)
-
title
public MetadataDescription title(String title)
-
getTitle
@Nullable public @Nullable String getTitle()
The document's title.- Returns:
- title
-
setTitle
public void setTitle(String title)
-
-