Metadata

A Book's collection of Metadata. In the future it should contain all Dublin Core attributes, for now it contains a set of often-used ones.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Metadata properties not hard-coded like the author, title, etc.

Link copied to clipboard

Functions

Link copied to clipboard
fun addAuthor(author: Author): Author
Link copied to clipboard
fun addContributor(contributor: Author): Author
Link copied to clipboard
fun addDate(date: Date): Date
Link copied to clipboard
fun addDescription(description: String): String
Link copied to clipboard
Link copied to clipboard
fun addPublisher(publisher: String): String
Link copied to clipboard
fun addTitle(title: String): String
Link copied to clipboard
fun addType(type: String): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setAuthors(authors: List<Author>)
Link copied to clipboard
fun setContributors(contributors: List<Author>)
Link copied to clipboard
fun setDates(dates: List<Date>)
Link copied to clipboard
fun setDescriptions(descriptions: List<String>)
Link copied to clipboard
fun setIdentifiers(identifiers: List<Identifier>)
Link copied to clipboard
fun setMetaAttributes(metaAttributes: Map<String, String>)
Link copied to clipboard
fun setPublishers(publishers: List<String>)
Link copied to clipboard
fun setRights(rights: List<String>)
Link copied to clipboard
fun setTitles(titles: List<String>)
Link copied to clipboard
fun setTypes(types: List<String>)