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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Known subtypes
- Self type
Members list
In this article