Package net.webpdf.wsclient.openapi
Class MetadataFoldersDocument
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataFoldersDocument
-
public class MetadataFoldersDocument extends Object
Lists the folders contained in a PDF collection (portfolio), that are used to structure the embedded attachments.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FOLDERstatic StringJSON_PROPERTY_INITIAL_FILE
-
Constructor Summary
Constructors Constructor Description MetadataFoldersDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataFoldersDocumentaddFolderItem(MetadataFolder folderItem)booleanequals(Object o)MetadataFoldersDocumentfolder(List<MetadataFolder> folder)@Nullable List<MetadataFolder>getFolder()Get folder@Nullable StringgetInitialFile()The object ID of the initially visible attachment.inthashCode()MetadataFoldersDocumentinitialFile(String initialFile)voidsetFolder(List<MetadataFolder> folder)voidsetInitialFile(String initialFile)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FOLDER
public static final String JSON_PROPERTY_FOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INITIAL_FILE
public static final String JSON_PROPERTY_INITIAL_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
folder
public MetadataFoldersDocument folder(List<MetadataFolder> folder)
-
addFolderItem
public MetadataFoldersDocument addFolderItem(MetadataFolder folderItem)
-
getFolder
@Nullable public @Nullable List<MetadataFolder> getFolder()
Get folder- Returns:
- folder
-
setFolder
public void setFolder(List<MetadataFolder> folder)
-
initialFile
public MetadataFoldersDocument initialFile(String initialFile)
-
getInitialFile
@Nullable public @Nullable String getInitialFile()
The object ID of the initially visible attachment. **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:
- initialFile
-
setInitialFile
public void setInitialFile(String initialFile)
-
-