See methods::slot()
. This version allows using "property" consistently
for both LiteralMeta and ResourceMeta (which internally uses "rel" because
RDFa does), which is easier to program. It also allows using "meta"
as an alias for "children" for ResourceMeta, to be consistent with the
corresponding slot for instances of Annotated
.
# S4 method for ResourceMeta
slot(object, name)# S4 method for ResourceMeta
slot(object, name) <- value
the object
name of the slot
the new value