Path

org.finos.morphir.PathModule.Path
See thePath companion object
sealed case class Path(segments: Vector[Name])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def ++(that: Path): Path
def /(name: Name): Path

Constructs a new path by combining this path with the given name.

Constructs a new path by combining this path with the given name.

Attributes

def /(that: Path): Path

Constructs a new path by combining this path with the given path.

Constructs a new path by combining this path with the given path.

Attributes

def isEmpty: Boolean

Indicates whether this path is empty.

Indicates whether this path is empty.

Attributes

def isPrefixOf(path: Path): Boolean

Checks if this path is a prefix of provided path

Checks if this path is a prefix of provided path

Attributes

def parts(implicit renderer: PathRenderer): IndexedSeq[String]
def render(implicit renderer: PathRenderer): String
def render(separator: String)(implicit nameRenderer: NameRenderer): String
def toList: List[Name]
def toString(f: Name => String, separator: String): String
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
def zip(other: Path): (Path, Path)

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product