EntityDoc

case class EntityDoc(entityDocument: EntityDocument) extends Serializable

EntityDoc is a Scala wrapper for WDTK EntityDocuments

Companion:
object
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def addPropertyValues(pidValue: PropertyIdValue, values: LazyList[Value]): EntityDoc
def asJsonStr(): String
def getAliases(): Map[String, List[MonolingualTextValue]]
def getDescriptions(): Map[String, MonolingualTextValue]
def getID(): String
def getLabels(): Map[String, MonolingualTextValue]
def getStatements(): List[Statement]
def getStatementsForProperty(prop: PropertyIdValue): List[Statement]
def getType(): String
def getValues(property: PropertyIdValue): LazyList[Value]
def mergeStatements(ss: List[Statement]): EntityDoc
def show(options: ShowEntityOptions): String
def showStatement(s: Statement, options: ShowEntityOptions): String
def showStatements(options: ShowEntityOptions): String
def showValue(value: Value, options: ShowEntityOptions): String
def withAliases(langCode: String, aliases: List[String]): EntityDoc
def withDescription(langCode: String, descr: String): EntityDoc
def withLabel(langCode: String, label: String): EntityDoc

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val valueMap: Map[PropertyIdValue, LazyList[Value]]