Field

org.finos.morphir.universe.ir.Field
See theField companion object
final case class Field[+A](name: Name, data: A)

Attributes

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

Members list

Value members

Concrete methods

def attributeTypeAs[Attribs](attributes: => Attribs): Field[Type[Attribs]]
Implicitly added by FieldOfType

Attributes the field with the given attributes.

Attributes the field with the given attributes.

Attributes

def attributeTypeWith[B](f: A => B): Field[Type[B]]
Implicitly added by FieldOfType

Attributes the field's type using the given function.

Attributes the field's type using the given function.

Attributes

def fieldType: Type[A]
Implicitly added by FieldOfType
def fieldType[A0](implicit ev: A <:< Type[A0]): Type[A0]
def forEach[G[_] : Covariant, B](f: A => G[B]): G[Field[B]]
def map[B](f: A => B): Field[B]
def mapAttributes[B](f: A => B): Field[Type[B]]
Implicitly added by FieldOfType
def mapFieldType[A0, A1](f: (Type[A0]) => Type[A1])(implicit ev: A <:< Type[A0]): Field[Type[A1]]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product