All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lspace.provider.wrapped.WrappedNode.scala Maven / Gradle / Ivy

package lspace.provider.wrapped

import lspace.structure._
import lspace.util.CacheStatus
import monix.eval.Task

abstract class WrappedNode(override val self: Node) extends Node with WrappedResource[Node] {

  override val value: Node = self.value
  //  @transient override val status: CacheStatus.CacheStatus = self.status
  //  @transient override val memento: Observable[Long] = self.memento

  override def labels: List[Ontology]                    = self.labels
  override def addLabel(classType: Ontology): Task[Unit] = self.addLabel(classType)
  override def removeLabel(classType: Ontology): Unit    = self.removeLabel(classType)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy