AbstractNodeType

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

Attributes

Graph
Supertypes
trait HasClassName
class Object
trait Matchable
class Any
Show all
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): AbstractNodeType.this.type
def addMarkerTrait(name: String): AbstractNodeType.this.type
def addOutEdge(edge: EdgeType, inNode: AbstractNodeType, cardinalityOut: Cardinality, cardinalityIn: Cardinality, stepNameOut: String, stepNameOutDoc: String, stepNameIn: String, stepNameInDoc: String): AbstractNodeType.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 edges(direction: Value): Seq[AdjacentNode]
def edges: Seq[AdjacentNode]
def extendz(additional: NodeBaseType*): AbstractNodeType.this.type
def extendz: Seq[NodeBaseType]
def inEdges: Seq[AdjacentNode]
override def properties: Seq[Property[_]]

properties (including potentially inherited properties)

properties (including potentially inherited properties)

Attributes

Definition Classes
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): AbstractNodeType.this.type
def withoutStarter(): AbstractNodeType.this.type

Inherited methods

def addProperties(additional: Property[_]*): HasProperties.this.type

Attributes

Inherited from:
HasProperties
def addProperty(additional: Property[_]): HasProperties.this.type

Attributes

Inherited from:
HasProperties
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]
val comment: Option[String]
val name: String

Inherited fields

protected val _properties: Set[Property[_]]

Attributes

Inherited from:
HasProperties