NodeID

org.finos.morphir.NodeIDModule.NodeID
See theNodeID companion object
sealed trait NodeID extends Product, Serializable

Represents a path in the IR. ==Overview== A NodeID can have two slightly different structures depending on if we are refering to modules or definitions (types/values).

  • When refefering to modules: "module:<Package>:<Module>"
  • When refering to definitions: "type\value:<Package>:<Module><localName>#<nodePath>", where nodePath is optional

Examples of valid NodeIDs:

  • "module:Morphir.Reference.Model:BooksAndRecords"
  • "type:Morphir.Reference.Model:BooksAndRecords:deal"
  • "value:Morphir.Reference.Model:BooksAndRecords:deal#1"

==Referring to modules== We can refer to modules by their Qualified Name, with the module: prefix

For example: "module:Morphir.Reference.Model:BooksAndRecords" refers to the Books and Records module inside the Morphir.Reference.Model package.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class ModuleID
class TypeID
class ValueID
Self type

Members list

Value members

Concrete methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product