PublicationItem Class

Format

An R6Class generator object

Public fields

type

character

accession

character

Methods


Method new()

Create a PublicationItem

Usage

PublicationItem$new(type, accession, ...)

Arguments

type

The type of the PublicationItem.

accession

The type-dependent accession of the PublicationItem.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

PublicationItem$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

PublicationItem$fromJSON(PublicationItemJson)

Arguments

PublicationItemJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

PublicationItem$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

PublicationItem$fromJSONString(PublicationItemJson)

Arguments

PublicationItemJson

JSON string


Method toString()

Serialize to string.

Usage

PublicationItem$toString()


Method fromString()

Deserialize from string.

Usage

PublicationItem$fromString(PublicationItemString)

Arguments

PublicationItemString

the string representation of a PublicationItem.


Method clone()

The objects of this class are cloneable with this method.

Usage

PublicationItem$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.