Packages

package nomisma

A library for working with freely available numismatic data from nomisma.org.

Overview

The two fundamental classes are the edu.holycross.shot.nomisma.Hoard and the Issue (not yet implemented). Collections of Hoards (a HoardCollection) can be constructed from RDF XML data in a local file, or (not yet impemented) directly from the nomisma.org site.

The package object includes utilities for fomatting and working strings used as LOD identifiers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. nomisma
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BasicIssue(id: String, labelText: String, denomination: String, material: String, authority: String, mint: String, region: String) extends Product with Serializable

    Annotations
    @JSExportTopLevel( "BasicIssue" )
  2. sealed trait CoinSide extends AnyRef
  3. case class ContentsGraph(id: String, hoard: Point, mintPoints: Vector[MintPoint]) extends Product with Serializable

    A hoard viewed as a geographic location with list of associated geographically located mints.

    A hoard viewed as a geographic location with list of associated geographically located mints.

    id

    ID of the hoard.

    hoard

    Geographic point for the find spot.

    mintPoints

    Geographic points for mints represented in the hoard.

    Annotations
    @JSExportTopLevel( "ContentsGraph" )
  4. case class ContentsGraphCollection(hoards: Vector[ContentsGraph]) extends Product with Serializable

    Collection of hoards viewed as graph of find spots to mint locations.

    Collection of hoards viewed as graph of find spots to mint locations.

    hoards

    Hoards viewed as ContentsGraph objects.

    Annotations
    @JSExportTopLevel( "ContentsGraphCollection" )
  5. case class Crro(issues: Vector[CrroIssue], mintsGeo: MintPointCollection = ...) extends IssueCollection with LogSupport with Product with Serializable

    The contents of an edition of Crro.

    The contents of an edition of Crro.

    Annotations
    @JSExportTopLevel( "Crro" )
  6. case class CrroIssue(id: String, labelText: String, denomination: String, material: String, authority: String, mint: String, region: String, obvType: String, obvLegend: String, obvPortraitId: String, revType: String, revLegend: String, revPortraitId: String, dateRange: Option[YearRange]) extends NomismaIssue with NomismaEntity with Product with Serializable

    A class representing a single issue in CRRO.

    A class representing a single issue in CRRO.

    Annotations
    @JSExportTopLevel( "CrroIssue" )
  7. case class GenericIssue(id: String, labelText: String, denomination: String, material: String, authority: String, mint: String, region: String, obvType: String, obvLegend: String, obvPortraitId: String, revType: String, revLegend: String, revPortraitId: String, dateRange: Option[YearRange]) extends NomismaIssue with Product with Serializable

    A class representing a single issue in OCRE.

    A class representing a single issue in OCRE.

    Annotations
    @JSExportTopLevel( "GenericIssue" )
  8. case class GenericIssuesCatalog(issues: Vector[NomismaIssue], mintsGeo: MintPointCollection = ...) extends IssueCollection with LogSupport with Product with Serializable

    The contents of a catalog of issues such as OCRE or CRRO.

    The contents of a catalog of issues such as OCRE or CRRO.

    Annotations
    @JSExportTopLevel( "GenericIssuesCatalog" )
  9. case class Hoard(id: String, label: String, closingDate: Option[YearRange], mints: Vector[String], geo: Option[Point]) extends Product with Serializable

    A coin hoard.

    A coin hoard.

    id

    Unique identifier: last element of nomisma.org URL identifier.

    label

    Human-readable label; contents of prefLabel element in nomisma.org RDF XML.

    closingDate

    Closing date of the hoard.

    mints

    Mints represented in this hoard, identified by nomisma.org identifier.

    geo

    Location of hoard as a geographic point.

    Annotations
    @JSExportTopLevel( "Hoard" )
  10. case class HoardCollection(hoards: Vector[Hoard]) extends Product with Serializable

    A collection of Hoards.

    A collection of Hoards.

    hoards

    Vector of Hoards in this collection.

    Annotations
    @JSExportTopLevel( "HoardCollection" )
  11. trait IssueCollection extends LogSupport

    The contents of a nomisma.org catalogs of issues, works with both RIC (Ocre) and RRC (Rrco).

  12. case class IssueYearRange(coin: String, yearRange: YearRange) extends Product with Serializable

    Legend for a single side of a coin.

    Legend for a single side of a coin.

    Annotations
    @JSExportTopLevel( "IssueYearRange" )
  13. case class Legend(coin: String, side: CoinSide, legend: String) extends Product with Serializable

    Legend for a single side of a coin.

    Legend for a single side of a coin.

    coin

    Identifier for coin.

    side

    Obverse or Reverse.

    legend

    Text of legend.

    Annotations
    @JSExportTopLevel( "Legend" )
  14. case class MintPoint(mint: String, pt: Point) extends Product with Serializable

    A geographically located mint.

    A geographically located mint.

    mint

    Identifier for mint.

    pt

    Geographic location of mint.

    Annotations
    @JSExportTopLevel( "MintPoint" )
  15. case class MintPointCollection(mintPoints: Vector[MintPoint]) extends Product with Serializable

    Wrapping class for a Vector of MintPoints.

    Wrapping class for a Vector of MintPoints.

    mintPoints

    Vector of MintPoints.

    Annotations
    @JSExportTopLevel( "MintPointCollection" )
  16. trait NomismaEntity extends AnyRef
  17. trait NomismaIssue extends AnyRef

    A trait representing a single issue in OCRE.

  18. case class NomismaRdfCollection(issues: Vector[BasicIssue], legends: Vector[Legend], typeDescriptions: Vector[TypeDescription], portraits: Vector[Portrait], dateRanges: Vector[IssueYearRange], mintsGeo: MintPointCollection) extends LogSupport with Product with Serializable

    The contents of an edition of OCRE.

    The contents of an edition of OCRE.

    Annotations
    @JSExportTopLevel( "NomismaRdfCollection" )
  19. case class NomismaRdfIssue(basics: BasicIssue, otype: Option[TypeDescription], rtype: Option[TypeDescription], olegend: Option[Legend], rlegend: Option[Legend], oportrait: Option[Portrait], rportrait: Option[Portrait], mintGeo: Option[MintPoint]) extends NomismaEntity with Product with Serializable
    Annotations
    @JSExportTopLevel( "NomismaRdfIssue" )
  20. case class Ocre(issues: Vector[OcreIssue], mintsGeo: MintPointCollection = ...) extends IssueCollection with LogSupport with Product with Serializable

    The contents of an edition of OCRE.

    The contents of an edition of OCRE.

    issues

    All issues in this collection.

    mintsGeo

    Geographic data for mints.

    Annotations
    @JSExportTopLevel( "Ocre" )
  21. case class OcreIssue(id: String, labelText: String, denomination: String, material: String, authority: String, mint: String, region: String, obvType: String, obvLegend: String, obvPortraitId: String, revType: String, revLegend: String, revPortraitId: String, dateRange: Option[YearRange]) extends NomismaIssue with NomismaEntity with Product with Serializable

    A class representing a single issue in OCRE.

    A class representing a single issue in OCRE.

    Annotations
    @JSExportTopLevel( "OcreIssue" )
  22. case class Point(x: Double, y: Double) extends Product with Serializable

    A geographic point.

    A geographic point.

    x

    X or longitude value.

    y

    Y or latitude value.

    Annotations
    @JSExportTopLevel( "Point" )
  23. case class Portrait(coin: String, side: CoinSide, portrait: String) extends NomismaEntity with Product with Serializable

    Legend for a single side of a coin.

    Legend for a single side of a coin.

    Annotations
    @JSExportTopLevel( "Portrait" )
  24. case class TypeDescription(coin: String, side: CoinSide, description: String) extends Product with Serializable

    Description of a coin's type on a single side.

    Description of a coin's type on a single side.

    coin

    Identifier for coin.

    side

    Obverse or Reverse.

    description

    Description of the type.

    Annotations
    @JSExportTopLevel( "TypeDescription" )
  25. case class UrlManager(pairs: Vector[UrlUrnPair]) extends LogSupport with Product with Serializable

    Annotations
    @JSExportTopLevel( "UrlManager" )
  26. case class UrlUrnPair(urlString: String, urn: Cite2Urn) extends Product with Serializable

    Association of a nomisma.org URL identifier with a syntactically valid Cite2Urn.

    Association of a nomisma.org URL identifier with a syntactically valid Cite2Urn.

    urlString

    URL value used by nomisma.org as an identifier.

    urn

    Cite2Urn corresponding to urlString.

    Annotations
    @JSExportTopLevel( "UrlUrnPair" )
  27. case class YearRange(year1: Int, year2: Option[Int] = None) extends LogSupport with Product with Serializable

    Closing date of a hoard as modelled by nomisma.org.

    Closing date of a hoard as modelled by nomisma.org. Closing date may be either a single integer year, or a pair of integers for a range of years.

    year1

    Earlier date in range, or single point.

    year2

    Later date in range, if any.

    Annotations
    @JSExportTopLevel( "YearRange" )

Value Members

  1. def coinSide(s: String): Option[CoinSide]

    Given a string label for a coin side, find CoinSide.

    Given a string label for a coin side, find CoinSide.

    s

    String label for obverse or reverse of coin.

  2. def kmlLine(label: String, pr1: String, pr2: String): String

    Create KML string for line linking two points.

    Create KML string for line linking two points.

    label

    Human-readable label for line.

    pr1

    String representation of an x,y pair.

    pr2

    String representation of second x,y pair.

  3. def spatialForNode(n: Node): (String, Point)

    Extract coordinate data from a SpatialThing node and pair it with the hoard ID.

    Extract coordinate data from a SpatialThing node and pair it with the hoard ID.

    n

    SpatialThing node

  4. object BasicIssue extends Serializable
  5. object Crro extends Serializable

    Factory object for making Crros.

  6. object CrroIssue extends LogSupport
  7. object CrroSource extends LogSupport

  8. object DiplomaticOcreOrthography extends MidOrthography
  9. object GenericIssue extends LogSupport
  10. object GenericIssuesCatalog extends Serializable

    Factory object for making GenericIssuesCatalogs.

  11. object GenericIssuesCatalogSource extends LogSupport

  12. object HoardSource extends LogSupport

    Factory for generating HoardCollections and for retrieving spatial data for sets of locations.

  13. object IssueYearRange extends LogSupport
  14. object Legend extends LogSupport
  15. object MarkupToken extends MidTokenCategory with Product with Serializable

    A token for editorial markup.

  16. object MintPoint extends LogSupport
  17. object MintPointCollection extends Serializable
  18. object NomismaRdfCollection extends Serializable
  19. object NomismaRdfCollectionSource

  20. object NormalizedOcreOrthography extends MidOrthography
  21. object Obverse extends CoinSide with Product with Serializable
  22. object Ocre extends Serializable

    Factory object for making Ocres.

  23. object OcreIssue extends LogSupport
  24. object OcreSource extends LogSupport

  25. object Portrait extends LogSupport
  26. object Reverse extends CoinSide with Product with Serializable
  27. object TypeDescription extends LogSupport
  28. object UrlManager extends Serializable
  29. object UrlManagerSource extends LogSupport

  30. object UrlUrnPair extends LogSupport
  31. object YearRange extends LogSupport

    Factory for creating YearRange objects from two integer values.

Inherited from AnyRef

Inherited from Any

Ungrouped