case class Catalog(texts: Vector[CatalogEntry]) extends LogSupport with Product with Serializable
Catalog for an entire text repository.
- texts
Set of catalog entries.
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- Catalog
- Product
- Equals
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Catalog(texts: Vector[CatalogEntry])
- texts
Set of catalog entries.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(catalog2: Catalog): Catalog
Create a new catalog by adding a second corpus to this one.
Create a new catalog by adding a second corpus to this one.
- catalog2
Catalog to add to this one.
-
def
--(catalog2: Catalog): Catalog
Create a new catalog by subtracting a catalog corpus from this one.
Create a new catalog by subtracting a catalog corpus from this one.
@ catalog2 second catalog with contents to be removed from this one.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cex(delimiter: String = "#"): String
Serialize catalog to a String in CEX format.
Serialize catalog to a String in CEX format.
- delimiter
String value to use as column delimiter.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
macro
def
debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- val dupes: Iterable[CtsUrn]
-
def
entriesForUrn(filterUrn: CtsUrn): Vector[CatalogEntry]
Find catalog entries by URN.
Find catalog entries by URN.
- filterUrn
URN identifying text(s).
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
macro
def
error(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
error(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
def
exemplarLabel(u: CtsUrn): String
Find label for an exemplar of a work for a given URN.
Find label for an exemplar of a work for a given URN.
- u
URN to look up in catalog.
-
def
exemplars: Set[CtsUrn]
Find Set of all versions represented in the catalog.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
groupName(u: CtsUrn): String
Find name of text group for a given URN.
Find name of text group for a given URN.
- u
URN to look up in catalog.
-
def
groups: Set[CtsUrn]
Find Set of all text groups represented in the catalog.
-
macro
def
info(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
info(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label(urn: CtsUrn): String
Create string label describing catalog entry matching a given URN.
Create string label describing catalog entry matching a given URN.
- urn
Urn to match.
-
def
labelledExemplars: Set[LabelledCtsUrn]
Created labelled URNs for the set of versions in this catalog.
-
def
labelledGroups: Set[LabelledCtsUrn]
Created labelled URNs for the set of text groups in this catalog.
-
def
labelledVersions: Set[LabelledCtsUrn]
Created labelled URNs for the set of versions in this catalog.
-
def
labelledWorks: Set[LabelledCtsUrn]
Created labelled URNs for the set of text groups in this catalog.
-
def
labels(urn: CtsUrn): String
Create string label describing all catalog entries matching a given URN.
Create string label describing all catalog entries matching a given URN.
- urn
Urn to match.
-
macro
def
logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
lazy val
logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
size: Int
Number of entries in catalog.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val texts: Vector[CatalogEntry]
-
def
toc: Map[LabelledCtsUrn, Map[LabelledCtsUrn, Map[LabelledCtsUrn, Vector[LabelledCtsUrn]]]]
Beginning from all text groups in the catalog, find mappings of all works belonging to them.
Beginning from all text groups in the catalog, find mappings of all works belonging to them. The result is a map of LabelledCtsUrns to a map of LabelledCtsUrns for works to a further map of LabelledCtsUrns for versions to a Vector of [LabelledCtsUrn]s.
-
macro
def
trace(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
trace(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- val urnList: Vector[CtsUrn]
-
def
versionLabel(u: CtsUrn): String
Find label for a version of a work for a given URN.
Find label for a version of a work for a given URN.
- u
URN to look up in catalog.
-
def
versions: Set[CtsUrn]
Find Set of all versions represented in the catalog.
-
def
versionsToc(versions: Vector[LabelledCtsUrn]): Map[LabelledCtsUrn, Vector[LabelledCtsUrn]]
For all versions in a list, create a Vector of exemplars belonging to them.
For all versions in a list, create a Vector of exemplars belonging to them. The result is a map of [LabelledCtsUrn]s to a (possibly empty) Vector of [LabelledCtsUrn]s.
- versions
List of text versions, identified by LabelledCtsUrn objects.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
macro
def
warn(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
warn(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
def
workTitle(u: CtsUrn): String
Find title of work for a given URN.
Find title of work for a given URN.
- u
URN to look up in catalog.
-
def
works: Set[CtsUrn]
Find Set of all works represented in the catalog.
-
def
worksToc(works: Vector[LabelledCtsUrn]): Map[LabelledCtsUrn, Map[LabelledCtsUrn, Vector[LabelledCtsUrn]]]
For all works in a list, find mappings of all versions belonging to them.
For all works in a list, find mappings of all versions belonging to them. The result is a map of LabelledCtsUrns to a further map of LabelledCtsUrns to a Vector of [LabelledCtsUrn]s.
- def ~~(filterUrn: CtsUrn): Catalog
Deprecated Value Members
-
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.