case class CiteLibrary(name: String, urn: Cite2Urn, license: String, namespaces: Vector[CiteNamespace], textRepository: Option[TextRepository] = None, collectionRepository: Option[CiteCollectionRepository] = None, relationSet: Option[CiteRelationSet] = None, dataModels: Option[Vector[DataModel]] = None) extends LogSupport with Product with Serializable
A library of citable scholarly resources.
- name
Name of the citable library.
- urn
URN identifying the library.
- license
Licensing and rights information.
- namespaces
Possibly empty vector of CiteNamespaces.
- textRepository
Optional, cataloged corpus of citable texts.
- collectionRepository
Optional, cataloged set of CITE Collections. (Not used in current version.)
- relationSet
Optional set of triple statements.
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- CiteLibrary
- Product
- Equals
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CiteLibrary(name: String, urn: Cite2Urn, license: String, namespaces: Vector[CiteNamespace], textRepository: Option[TextRepository] = None, collectionRepository: Option[CiteCollectionRepository] = None, relationSet: Option[CiteRelationSet] = None, dataModels: Option[Vector[DataModel]] = None)
- name
Name of the citable library.
- urn
URN identifying the library.
- license
Licensing and rights information.
- namespaces
Possibly empty vector of CiteNamespaces.
- textRepository
Optional, cataloged corpus of citable texts.
- collectionRepository
Optional, cataloged set of CITE Collections. (Not used in current version.)
- relationSet
Optional set of triple statements.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cex(delimiter: String = "#"): String
Serialize a CiteLibrary to CEX
Serialize a CiteLibrary to CEX
- delimiter
Column-delimiter used in CEX source.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val collectionRepository: Option[CiteCollectionRepository]
-
def
collectionsForModel(modelUrn: Cite2Urn): Vector[Cite2Urn]
Returns a [possibly empty] vector of collectionmodels that apply to a given data model
- val dataModels: Option[Vector[DataModel]]
-
macro
def
debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hasCollections: Boolean
True if CiteCollectionRepository is instantiated.
-
def
hasDataModels: Boolean
True if DataModels is instantiated.
-
def
hasIndexes: Boolean
True if CiteRelationSet is instantiated.
-
def
hasTexts: Boolean
True if TextRepository is instantiated.
-
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
- val license: String
-
macro
def
logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
lazy val
logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
-
def
modelApplies(modelUrn: Cite2Urn, objectUrn: Cite2Urn): Boolean
Returns true if a given model applies to a given URN
-
def
modelsForCollection(collUrn: Cite2Urn): Vector[Cite2Urn]
Returns a vector of datamodels that apply to a given collection URN
- val name: String
- val namespaces: Vector[CiteNamespace]
-
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()
- val relationSet: Option[CiteRelationSet]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val textRepository: Option[TextRepository]
-
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 urn: Cite2Urn
-
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
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.