io.shiftleft.codepropertygraph.generated.edges.Cdg.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codepropertygraph-domain-classes_3 Show documentation
Show all versions of codepropertygraph-domain-classes_3 Show documentation
codepropertygraph-domain-classes
The newest version!
package io.shiftleft.codepropertygraph.generated.edges
import overflowdb._
import scala.jdk.CollectionConverters._
object Cdg {
val Label = "CDG"
object PropertyNames {
val all: Set[String] = Set()
val allAsJava: java.util.Set[String] = all.asJava
}
object Properties {}
object PropertyDefaults {}
val layoutInformation = new EdgeLayoutInformation(Label, PropertyNames.allAsJava)
val factory = new EdgeFactory[Cdg] {
override val forLabel = Cdg.Label
override def createEdge(graph: Graph, outNode: NodeRef[NodeDb], inNode: NodeRef[NodeDb]) =
new Cdg(graph, outNode, inNode)
}
}
class Cdg(_graph: Graph, _outNode: NodeRef[NodeDb], _inNode: NodeRef[NodeDb])
extends Edge(_graph, Cdg.Label, _outNode, _inNode, Cdg.PropertyNames.allAsJava) {
override def propertyDefaultValue(propertyKey: String) = {
propertyKey match {
case _ => super.propertyDefaultValue(propertyKey)
}
}
}