AbstractNodeType

flatgraph.schema.AbstractNodeType
abstract class AbstractNodeType(val name: String, val comment: Option[String], val schemaInfo: SchemaInfo) extends HasClassName, HasSchemaInfo

Attributes

Graph
Supertypes
trait HasClassName
class Object
trait Matchable
class Any
Known subtypes
class NodeBaseType
class AnyNodeType
class NodeType

Members list

Value members

Abstract methods

def subtypes(allNodes: Set[AbstractNodeType]): Set[AbstractNodeType]

all node types that extend this node

all node types that extend this node

Attributes

Concrete methods

def addInEdge(edge: EdgeType, outNode: AbstractNodeType, cardinalityIn: Cardinality, cardinalityOut: Cardinality, stepNameIn: String, stepNameInDoc: String, stepNameOut: String, stepNameOutDoc: String): this.type
def addMarkerTrait(name: String): this.type
def addOutEdge(edge: EdgeType, inNode: AbstractNodeType, cardinalityOut: Cardinality, cardinalityIn: Cardinality, stepNameOut: String, stepNameOutDoc: String, stepNameIn: String, stepNameInDoc: String): this.type

note: allowing to define one outEdge for ONE inNode only - if you are looking for Union Types, please use NodeBaseTypes

note: allowing to define one outEdge for ONE inNode only - if you are looking for Union Types, please use NodeBaseTypes

Attributes

def addProperties(additional: Property[_]*): this.type
def addProperty(additional: Property[_]): this.type
def edges(direction: Value): Seq[AdjacentNode]
def edges: Seq[AdjacentNode]
def extendz(additional: NodeBaseType*): this.type
def extendz: Seq[NodeBaseType]
def inEdges: Seq[AdjacentNode]
def properties: Seq[Property[_]]

properties (including potentially inherited properties)

properties (including potentially inherited properties)

Attributes

def starterName: Option[String]

the name for the generated node starter. Custom names can be assigned to prevent compile errors for e.g. type. Generation of node-starter can be suppressed by passing null, or by calling withoutStarter().

the name for the generated node starter. Custom names can be assigned to prevent compile errors for e.g. type. Generation of node-starter can be suppressed by passing null, or by calling withoutStarter().

Attributes

def starterName(name: String): this.type
def withoutStarter(): this.type

Inherited methods

def className: String

Attributes

Inherited from:
HasClassName

Concrete fields

protected val _extendz: Set[NodeBaseType]
protected val _inEdges: Set[AdjacentNode]
protected val _markerTraits: Set[MarkerTrait]
protected val _outEdges: Set[AdjacentNode]
protected val _properties: Set[Property[_]]
val comment: Option[String]
val name: String