class SchemaBuilder extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SchemaBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SchemaBuilder(domainShortName: String, basePackage: String, additionalTraversalsPackages: Seq[String] = Seq.empty)
Value Members
- def addConstants(category: String, constants: Constant[_]*): Seq[Constant[_]]
- def addEdgeType(name: String, comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): EdgeType
- def addNodeBaseType(name: String, comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): NodeBaseType
- def addNodeType(name: String, comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): NodeType
- def addProperty[A](name: String, valueType: ValueType[A], comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): Property[A]
-
lazy val
anyNode: AnyNodeType
root node trait for all nodes - use if you want to be explicitly unspecific
- def build: Schema
- val constantsByCategory: Map[String, Seq[Constant[_]]]
- def dontWarnForDuplicateProperty(nodeType: AbstractNodeType, property: Property[_]): SchemaBuilder
- val edgeTypes: ListBuffer[EdgeType]
- val noWarnList: Set[(AbstractNodeType, Property[_])]
- val nodeBaseTypes: ListBuffer[NodeBaseType]
- val nodeTypes: ListBuffer[NodeType]
- val properties: ListBuffer[Property[_]]
- def protoOptions(value: ProtoOptions): SchemaBuilder
- var protoOptions: Option[ProtoOptions]
-
def
verifyProtoIdsUnique(schema: Schema): Unit
proto ids must be unique (if used)