CitableBase.CexTrait
— MethodDefine type as serializable.
CitableLibrary.CitableLibraryCollection
— TypeValue for the CitableLibraryTrait for citable collections.
CitableLibrary.CitableLibraryTrait
— TypeAbstraction of values for a citable library collection trait.
CitableLibrary.CitableLibraryTrait
— MethodDefine default value of CitableLibraryTrait as NotCitableLibraryCollection.
CitableLibrary.CiteLibrary
— TypeA library with contents citable by URN.
CitableLibrary.NotCitableLibraryCollection
— TypeValue for the CitableLibraryTrait for evertything that is not a citable library collection.
CitableLibrary.UuidUrn
— TypeA UUID value in URN notation.
Base.show
— MethodOverride show
for UuidUrn type.
show(io, u)
Base.show
— MethodOverride Base.show
for CiteLibrary
.
show(io, lib)
CitableBase.cex
— MethodSerialize contents of lib
to a CEX string.
cex(lib; delimiter)
Required function for CexTrait
.
CitableBase.fromcex
— MethodCiteLibrary
requires additional information to be instantiated from CEX source. Warn and return nothing
.
fromcex(s, CiteLibrary; delimiter)
Required function for CexTrait
.
CitableBase.label
— MethodName of library.
label(lib)
Required function for CitableTrait
.
CitableBase.urn
— MethodURN identifying library. Required function for CitableTrait
.
urn(lib)
CitableBase.urncontains
— MethodApply urncontains
to all collections in lib
of type T
.
Returns a possibly empty list of objects.
CitableBase.urnequals
— MethodApply urnequals
to all collections in lib
of type T
.
urnequals(urn, lib, T)
Returns a possibly empty list of objects.
CitableLibrary.cexversion
— MethodCEX version to use in serialization.
cexversion(lib)
CitableLibrary.citablecollection
— MethodTrue if x
has the value CitableLibraryCollection
for the CitableLibraryTrait
.
citablecollection(x)
CitableLibrary.collections
— MethodList all collections in the library of type T
.
collections(lib, T)
CitableLibrary.collections
— MethodList all collections in the library.
collections(lib)
CitableLibrary.collectiontypes
— MethodList types of collections in library.
collectiontypes(lib)
CitableLibrary.library
— MethodConstruct a CiteLibrary
.
library(collections; libname, liburn, license, cexversion)
Optional parameters
liburn
Unique identifier for this library. Must be a subtype ofUrn
.libname
Name of library (value returned bylabel
)license
License. Default is cc-nc-by.cexversion
Version of the CEX standard used in serializing library. Default is the current version.
CitableLibrary.license
— MethodLicense for collected material in library as a whole.
license(lib)
CitableLibrary.uuidUrn
— MethodGenerate a new UuidUrn
uuidUrn()