Builder to construct an Indexable
for a digital document of different types.
For reference, see: //schema.org/DigitalDocument.
Public Method Summary
DigitalDocumentBuilder | |
DigitalDocumentBuilder | |
DigitalDocumentBuilder | |
DigitalDocumentBuilder |
setHasDigitalDocumentPermission(DigitalDocumentPermissionBuilder...
permissions)
Sets the permission related to the access to this digital document
(e.g. permission to read or write).
|
DigitalDocumentBuilder |
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Public Methods
public DigitalDocumentBuilder setAuthor (PersonBuilder... personBuilders)
Sets authors of the digital document.
Parameters
personBuilders | The authors of this digital document. |
---|
public DigitalDocumentBuilder setDateCreated (Date dateCreated)
Sets the date on which the digital document was created.
Parameters
dateCreated | The date on which the digital document was created. |
---|
public DigitalDocumentBuilder setDateModified (Date dateModified)
Sets the date on which the digital document was last edited.
Parameters
dateModified | The date on which the digital document was last edited. |
---|
public DigitalDocumentBuilder setHasDigitalDocumentPermission (DigitalDocumentPermissionBuilder... permissions)
Sets the permission related to the access to this digital document (e.g. permission to read or write). For a public digital document, specify a grantee with an Audience with audienceType equal to "public".
Parameters
permissions | The permissions related to the access to this digital document. |
---|
public DigitalDocumentBuilder setText (String text)
Sets the textual content of the digital document.
Parameters
text | The textual content of the digital document. |
---|