Class CSLItemData

  • All Implemented Interfaces:
    JsonObject

    public class CSLItemData
    extends Object
    implements JsonObject
    A citation item contains all attributes that make up a citation.
    Author:
    Michel Kraemer
    • Method Detail

      • getId

        public String getId()
        Returns:
        the citation item's id
      • getType

        public CSLType getType()
        Returns:
        the citation item's type
      • getCategories

        public String[] getCategories()
        Returns:
        the citation item's categories
      • getLanguage

        public String getLanguage()
        Returns:
        the citation item's language
      • getJournalAbbreviation

        public String getJournalAbbreviation()
        Returns:
        the citation item's journalAbbreviation
      • getShortTitle

        public String getShortTitle()
        Returns:
        the citation item's shortTitle
      • getAuthor

        public CSLName[] getAuthor()
        Returns:
        the citation item's author
      • getChair

        public CSLName[] getChair()
        Returns:
        the citation item's chair
      • getCollectionEditor

        public CSLName[] getCollectionEditor()
        Returns:
        the citation item's collection-editor
      • getComposer

        public CSLName[] getComposer()
        Returns:
        the citation item's composer
      • getCompiler

        public CSLName[] getCompiler()
        Returns:
        the citation item's compiler
      • getContainerAuthor

        public CSLName[] getContainerAuthor()
        Returns:
        the citation item's container-author
      • getContributor

        public CSLName[] getContributor()
        Returns:
        the citation item's contributor
      • getCurator

        public CSLName[] getCurator()
        Returns:
        the citation item's curator
      • getDirector

        public CSLName[] getDirector()
        Returns:
        the citation item's director
      • getEditor

        public CSLName[] getEditor()
        Returns:
        the citation item's editor
      • getEditorialDirector

        public CSLName[] getEditorialDirector()
        Returns:
        the citation item's editorial-director
      • getExecutiveProducer

        public CSLName[] getExecutiveProducer()
        Returns:
        the citation item's executive-producer
      • getIllustrator

        public CSLName[] getIllustrator()
        Returns:
        the citation item's illustrator
      • getInterviewer

        public CSLName[] getInterviewer()
        Returns:
        the citation item's interviewer
      • getOrganizer

        public CSLName[] getOrganizer()
        Returns:
        the citation item's organizer
      • getOriginalAuthor

        public CSLName[] getOriginalAuthor()
        Returns:
        the citation item's original-author
      • getPerformer

        public CSLName[] getPerformer()
        Returns:
        the citation item's performer
      • getProducer

        public CSLName[] getProducer()
        Returns:
        the citation item's producer
      • getRecipient

        public CSLName[] getRecipient()
        Returns:
        the citation item's recipient
      • getReviewedAuthor

        public CSLName[] getReviewedAuthor()
        Returns:
        the citation item's reviewed-author
      • getTranslator

        public CSLName[] getTranslator()
        Returns:
        the citation item's translator
      • getAccessed

        public CSLDate getAccessed()
        Returns:
        the citation item's accessed
      • getContainer

        public CSLDate getContainer()
        Returns:
        the citation item's container
      • getEventDate

        public CSLDate getEventDate()
        Returns:
        the citation item's event-date
      • getIssued

        public CSLDate getIssued()
        Returns:
        the citation item's issued
      • getOriginalDate

        public CSLDate getOriginalDate()
        Returns:
        the citation item's original-date
      • getSubmitted

        public CSLDate getSubmitted()
        Returns:
        the citation item's submitted
      • getAbstrct

        public String getAbstrct()
        Returns:
        the citation item's abstract
      • getAnnote

        public String getAnnote()
        Returns:
        the citation item's annote
      • getArchive

        public String getArchive()
        Returns:
        the citation item's archive
      • getArchiveLocation

        public String getArchiveLocation()
        Returns:
        the citation item's archive_location
      • getArchivePlace

        public String getArchivePlace()
        Returns:
        the citation item's archive-place
      • getAuthority

        public String getAuthority()
        Returns:
        the citation item's authority
      • getCallNumber

        public String getCallNumber()
        Returns:
        the citation item's call-number
      • getChapterNumber

        public String getChapterNumber()
        Returns:
        the citation item's chapter-number
      • getCitationNumber

        public String getCitationNumber()
        Returns:
        the citation item's citation-number
      • getCitationKey

        public String getCitationKey()
        Returns:
        the citation item's citation-key
      • getCitationLabel

        public String getCitationLabel()
        Returns:
        the citation item's citation-label
      • getCollectionNumber

        public String getCollectionNumber()
        Returns:
        the citation item's collection-number
      • getCollectionTitle

        public String getCollectionTitle()
        Returns:
        the citation item's collection-title
      • getContainerTitle

        public String getContainerTitle()
        Returns:
        the citation item's container-title
      • getContainerTitleShort

        public String getContainerTitleShort()
        Returns:
        the citation item's container-title-short
      • getDimensions

        public String getDimensions()
        Returns:
        the citation item's dimensions
      • getDOI

        public String getDOI()
        Returns:
        the citation item's DOI
      • getEdition

        public String getEdition()
        Returns:
        the citation item's edition
      • getEvent

        public String getEvent()
        Returns:
        the citation item's event
      • getEventPlace

        public String getEventPlace()
        Returns:
        the citation item's event-place
      • getFirstReferenceNoteNumber

        public String getFirstReferenceNoteNumber()
        Returns:
        the citation item's first-reference-note-number
      • getGenre

        public String getGenre()
        Returns:
        the citation item's genre
      • getISBN

        public String getISBN()
        Returns:
        the citation item's ISBN
      • getISSN

        public String getISSN()
        Returns:
        the citation item's ISSN
      • getIssue

        public String getIssue()
        Returns:
        the citation item's issue
      • getJurisdiction

        public String getJurisdiction()
        Returns:
        the citation item's jurisdiction
      • getKeyword

        public String getKeyword()
        Returns:
        the citation item's keyword
      • getLocator

        public String getLocator()
        Returns:
        the citation item's locator
      • getMedium

        public String getMedium()
        Returns:
        the citation item's medium
      • getNote

        public String getNote()
        Returns:
        the citation item's note
      • getNumber

        public String getNumber()
        Returns:
        the citation item's number
      • getNumberOfPages

        public String getNumberOfPages()
        Returns:
        the citation item's number-of-pages
      • getNumberOfVolumes

        public String getNumberOfVolumes()
        Returns:
        the citation item's number-of-volumes
      • getOriginalPublisher

        public String getOriginalPublisher()
        Returns:
        the citation item's original-publisher
      • getOriginalPublisherPlace

        public String getOriginalPublisherPlace()
        Returns:
        the citation item's original-publisher-place
      • getOriginalTitle

        public String getOriginalTitle()
        Returns:
        the citation item's original-title
      • getPage

        public String getPage()
        Returns:
        the citation item's page
      • getPMCID

        public String getPMCID()
        Returns:
        the citation item's PMCID
      • getPMID

        public String getPMID()
        Returns:
        the citation item's PMID
      • getPublisher

        public String getPublisher()
        Returns:
        the citation item's publisher
      • getPublisherPlace

        public String getPublisherPlace()
        Returns:
        the citation item's publisher-place
      • getReferences

        public String getReferences()
        Returns:
        the citation item's references
      • getReviewedTitle

        public String getReviewedTitle()
        Returns:
        the citation item's reviewed-title
      • getScale

        public String getScale()
        Returns:
        the citation item's scale
      • getSection

        public String getSection()
        Returns:
        the citation item's section
      • getSource

        public String getSource()
        Returns:
        the citation item's source
      • getStatus

        public String getStatus()
        Returns:
        the citation item's status
      • getTitle

        public String getTitle()
        Returns:
        the citation item's title
      • getTitleShort

        public String getTitleShort()
        Returns:
        the citation item's title-short
      • getURL

        public String getURL()
        Returns:
        the citation item's URL
      • getVersion

        public String getVersion()
        Returns:
        the citation item's version
      • getVolume

        public String getVolume()
        Returns:
        the citation item's volume
      • getYearSuffix

        public String getYearSuffix()
        Returns:
        the citation item's year-suffix
      • toJson

        public Object toJson​(JsonBuilder builder)
        Description copied from interface: JsonObject
        Converts this object to a JSON object
        Specified by:
        toJson in interface JsonObject
        Parameters:
        builder - a builder that can be used to perform the conversion
        Returns:
        the JSON object
      • fromJson

        public static CSLItemData fromJson​(Map<String,​Object> obj)
        Converts a JSON object to a CSLItemData object.
        Parameters:
        obj - the JSON object to convert
        Returns:
        the converted CSLItemData object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object