case class CiteCollectionRepository(data: CiteCollectionData, objects: CiteObjectMap, catalog: CiteCatalog) extends LogSupport with Product with Serializable

A cataloged collection of citable data. In initialization, the constructor validates every object in the data against the structure defined in the catalog.

data

Collection of data values.

catalog

Documentation of the structure of each collection.

Annotations
@JSExportAll()
Linear Supertypes
Product, Equals, LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CiteCollectionRepository
  2. Product
  3. Equals
  4. LogSupport
  5. LazyLogger
  6. LoggingMethods
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CiteCollectionRepository(data: CiteCollectionData, objects: CiteObjectMap, catalog: CiteCatalog)

    data

    Collection of data values.

    catalog

    Documentation of the structure of each collection.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val catalog: CiteCatalog
  6. def cex(d1: String = "#", d2: String = ","): String
  7. def cexObject(urn: Cite2Urn, delim1: String = "#"): String

    Export an object as a delimited line for CEX

  8. def citableObject(objUrn: Cite2Urn): CiteObject

    Retreive a citable object for an identifying URN from the objectMap

    Retreive a citable object for an identifying URN from the objectMap

    objUrn

    Cite2Urn

  9. def citableObjectFromProperties(objUrn: Cite2Urn): CiteObject

    Construct a citable object for an identifying URN from the vector of properties

  10. def citableObjectFromProperties(objUrn: Cite2Urn, labelPropertyUrn: Cite2Urn): CiteObject

    Construct a citable object for an identifying URN out of the vectdor of properties.

    Construct a citable object for an identifying URN out of the vectdor of properties.

    labelPropertyUrn

    URN of property to elevate to required label of a CiteObject.

  11. val citableObjects: Vector[CiteObject]

    Hold a vector of CiteObjects

  12. def citableObjectsFromProperties: Vector[CiteObject]

    Convert all data to a Vector of CiteObjects.

  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  14. def collectionData(collUrn: Cite2Urn): CiteCollectionData

    Find data set for a given collection.

    Find data set for a given collection.

    collUrn

    Collection's URN.

  15. def collectionDefinition(collUrn: Cite2Urn): Option[CiteCollectionDef]

    Find catalog entry for a given collection.

    Find catalog entry for a given collection.

    collUrn

    Collection's URN.

  16. def collections: Set[Cite2Urn]

    Set of all cataloged collections in the repository, identified by URN.

  17. val collectionsMap: Map[Cite2Urn, Vector[Cite2Urn]]

    A Map of (collection-level) URNs -> Vectors of URNs for that collection For ordered collections, the Vector[Cite2Urn] will be in the correct order for unordered collections, the Vector[Cite2Urn] will be in any old order

  18. val data: CiteCollectionData
  19. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  23. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  24. def first(coll: Cite2Urn): CiteObject

    Find first citable object in an ordered collection.

    Find first citable object in an ordered collection.

    coll

    Collection URN.

  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def indexOf(obj: CiteObject): Int

    Index of a citable object in an ordered collection.

    Index of a citable object in an ordered collection.

    obj

    A citable object in an ordered collection.

  27. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  28. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isOrdered(coll: Cite2Urn): Boolean

    True if collection is ordered.

    True if collection is ordered.

    coll

    Collection to test.

  31. def last(coll: Cite2Urn): CiteObject

    Find last citable object in an ordered collection.

    Find last citable object in an ordered collection.

    coll

    Collection URN.

  32. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def next(obj: CiteObject): Option[CiteObject]

    Find following citable object in an ordered collection.

    Find following citable object in an ordered collection.

    obj

    Find object following this.

  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def numericGreaterThan(propertyUrn: Cite2Urn, pValue: Double): Vector[CiteObject]

    Find all citable objects with a given property value greater than a given value.

    Find all citable objects with a given property value greater than a given value.

    propertyUrn

    Property to examine.

    pValue

    Value to compare.

  39. def numericGreaterThan(pValue: Double): Vector[CiteObject]

    Find all citable objects with a numeric property value greater than a given value.

    Find all citable objects with a numeric property value greater than a given value.

    pValue

    Value to compare.

  40. def numericGreaterThanOrEqual(propertyUrn: Cite2Urn, pValue: Double): Vector[CiteObject]

    Find all citable objects with a given property value greater than or equal to a given value.

    Find all citable objects with a given property value greater than or equal to a given value.

    propertyUrn

    Property to examine.

    pValue

    Value to compare.

  41. def numericGreaterThanOrEqual(pValue: Double): Vector[CiteObject]

    Find all citable objects with a numeric property value greater or equal to than a given value.

    Find all citable objects with a numeric property value greater or equal to than a given value.

    pValue

    Value to compare.

  42. def numericLessThan(propertyUrn: Cite2Urn, pValue: Double): Vector[CiteObject]

    Find citable objects with a given numeric property having a value less than a given value.

    Find citable objects with a given numeric property having a value less than a given value.

    propertyUrn

    Property to examine.

    pValue

    Value to compare.

  43. def numericLessThan(pValue: Double): Vector[CiteObject]

    Find all citable objects with a numeric property value less than a given value.

    Find all citable objects with a numeric property value less than a given value.

    pValue

    Value to compare.

  44. def numericLessThanOrEqual(propertyUrn: Cite2Urn, pValue: Double): Vector[CiteObject]

    Find all citable objects with a numeric property value less than or equal to a given value.

    Find all citable objects with a numeric property value less than or equal to a given value.

    propertyUrn

    Property to examine.

    pValue

    Value to compare.

  45. def numericLessThanOrEqual(pValue: Double): Vector[CiteObject]

    Find all citable objects with a numeric property value less than or equal to a given value.

    Find all citable objects with a numeric property value less than or equal to a given value.

    pValue

    Value to compare.

  46. def numericWithin(propertyUrn: Cite2Urn, n1: Double, n2: Double): Vector[CiteObject]

    Find all citable objects with a given property value falling within a given range.

    Find all citable objects with a given property value falling within a given range.

    propertyUrn

    Property to examine.

    n1

    Lower bound,inclusive.

    n2

    Upperbound, inclusive.

  47. def numericWithin(n1: Double, n2: Double): Vector[CiteObject]

    Find all citable objects with a numeric property value within a given range.

    Find all citable objects with a numeric property value within a given range.

    n1

    Lower bound,inclusive.

    n2

    Upperbound, inclusive.

  48. def objectMatchesCatalog(citeObj: CiteObject, collectionDef: CiteCollectionDef): Boolean

    True if the given CiteObject validates against the collection's definition.

    True if the given CiteObject validates against the collection's definition. In actuality, won't ever return false, but will throw an Exception if requirements checked by assert statements are violated, otherwise returns true.

    citeObj

    Citable object to evaluate.

    collectionDef

    Collection definition to use in evaulating object.

  49. def objectValidates(objectUrn: Cite2Urn): Boolean

    True if we can construct a valid object for a URN, confirm 1<->1 relation of cataloged properties and actual properties, and validate the type of each property value.

    True if we can construct a valid object for a URN, confirm 1<->1 relation of cataloged properties and actual properties, and validate the type of each property value.

    objectUrn

    URN uniquely identifyiing an object. It is an assertion exception if the URN does not match 1 and only 1 entry in the catalog.

  50. val objects: CiteObjectMap
  51. def objectsForCollection(urn: Cite2Urn): Vector[CiteObject]

    Make a Vector of CiteObjects for a collection.

    Make a Vector of CiteObjects for a collection. If the collection is ordered, the resulting Vector will be sorted by the collection's ordering property.

  52. def objectsForCollectionFromProperties(coll: Cite2Urn): Vector[CiteObject]

    Make a Vector of CiteObjects for a collection, from the vector of properties.

    Make a Vector of CiteObjects for a collection, from the vector of properties. If the collection is ordered, the resulting Vector will be sorted by the collection's ordering property.

    coll

    Collection URN.

  53. def prev(obj: CiteObject): Option[CiteObject]

    Find preceding citable object in an ordered collection.

    Find preceding citable object in an ordered collection.

    obj

    Find object preceding this.

  54. def properties: Set[Cite2Urn]

    Set of all properties in the repository, identified by URN.

  55. def propertyValue(propertyUrn: Cite2Urn): Any

    Find value of a given property.

    Find value of a given property.

    propertyUrn

    Property to find value for.

  56. def rangeFilter(filterUrn: Cite2Urn): Vector[CiteObject]

    Find Vector of CiteObjects identified by URNs matching a given range URN.

    Find Vector of CiteObjects identified by URNs matching a given range URN.

    filterUrn

    URN to match.

  57. def regexMatch(propertyUrn: Cite2Urn, re: String): Vector[CiteObject]

    Find citable objects with a given property matching a given regular expression.

    Find citable objects with a given property matching a given regular expression.

    propertyUrn

    Property to examine.

    re

    Regular expression to match.

  58. def regexMatch(re: String): Vector[CiteObject]

    Find all citable objects with a property matching a given regular expression.

    Find all citable objects with a property matching a given regular expression.

    re

    Regular expression to match.

  59. def sortValue(obj: CiteObject): Double

    Look up value of ordering property for a citable object.

    Look up value of ordering property for a citable object.

    obj

    Citable object.

  60. def sortValue(obj: CiteObject, propertyKey: Cite2Urn): Double

    Look up value of ordering property for a citable object.

    Look up value of ordering property for a citable object.

    obj

    Citable object.

    propertyKey

    URN identifying its ordering property.

  61. def stringContains(propertyUrn: Cite2Urn, s: String, caseSensitive: Boolean): Vector[CiteObject]

    Find citable objects with a given property containing a given substring, optionally taking case into consideration.

    Find citable objects with a given property containing a given substring, optionally taking case into consideration.

    propertyUrn

    Property to examine.

    s

    Value to search for.

    caseSensitive

    True if case should be considered in comparing strings.

  62. def stringContains(s: String, caseSensitive: Boolean = true): Vector[CiteObject]

    Find all citable objects with a property containing a given substring, optionally taking case into consideration.

    Find all citable objects with a property containing a given substring, optionally taking case into consideration.

    s

    Value to search for.

    caseSensitive

    True if case should be considered in comparing strings.

  63. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  64. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  65. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  66. def urnMatch(propertyUrn: Cite2Urn, u: Urn): Vector[CiteObject]

    Find citable objects with a given property matching a given regular expression.

    Find citable objects with a given property matching a given regular expression.

    propertyUrn

    Property to examine.

    u

    URN to match.

  67. def urnMatch(u: Urn): Vector[CiteObject]

    Find all citable objects with a property matching a given URN.

    Find all citable objects with a property matching a given URN.

    u

    URN to match.

  68. def urnsForCollectionFromProperties(urn: Cite2Urn): Vector[Cite2Urn]

    Make a Vector of CiteObjects for a collection, from the vector of properties.

    Make a Vector of CiteObjects for a collection, from the vector of properties. If the collection is ordered, the resulting Vector will be sorted by the collection's ordering property.

  69. def validateAll: Boolean

    Validate that data and catalog agree.

  70. def valueEquals(propertyUrn: Cite2Urn, pValue: Any): Vector[CiteObject]
  71. def valueEquals(pValue: Any): Vector[CiteObject]

    Find all citable objects with a given property value.

    Find all citable objects with a given property value.

    pValue

    Value to search for.

  72. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  76. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  77. def ~~(filterUrn: Cite2Urn): Vector[CiteObject]

    Find Vector of CiteObjects identified by URNs matching a given URN.

    Find Vector of CiteObjects identified by URNs matching a given URN.

    filterUrn

    URN to match.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped