class SchemaBuilder extends AnyRef
TODO future refactorings: + move lazy val to Helpers, don't import Helpers here
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SchemaBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SchemaBuilder(basePackage: String)
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
- def addConstants(category: String, constants: Constant*): Seq[Constant]
- def addEdgeProperty(name: String, valueType: ValueTypes, cardinality: Cardinality, comment: String = ""): Property
- def addEdgeType(name: String, comment: String = ""): EdgeType
- def addNodeBaseType(name: String, comment: String = ""): NodeBaseType
- def addNodeProperty(name: String, valueType: ValueTypes, cardinality: Cardinality, comment: String = ""): Property
- def addNodeType(name: String, comment: String = ""): NodeType
-
lazy val
anyNode: NodeBaseType
root node trait for all nodes - use if you want to be explicitly unspecific TODO handle differently - it's a cpg-specific special type at the moment, which isn't nice.
root node trait for all nodes - use if you want to be explicitly unspecific TODO handle differently - it's a cpg-specific special type at the moment, which isn't nice. it's not even part of the regular base types, but instead defined in the RootTypes.scala
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build: Schema
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val constantsByCategory: Map[String, Seq[Constant]]
- val edgePropertyKeys: ListBuffer[Property]
- val edgeTypes: ListBuffer[EdgeType]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeBaseTypes: ListBuffer[NodeBaseType]
- val nodePropertyKeys: ListBuffer[Property]
- val nodeTypes: ListBuffer[NodeType]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def protoOptions(value: ProtoOptions): SchemaBuilder
- var protoOptions: Option[ProtoOptions]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
verifyProtoIdsUnique: Unit
proto ids must be unique (if used)
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()