Attribute

org.finos.morphir.util.attribs.Attribute$
See theAttribute companion class
object Attribute

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Attribute.type

Members list

Type members

Classlikes

final case class Binding[V](property: Attribute[V], value: V)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[A](name: String, initial: A)(implicit tag: Tag[A]): Attribute[A]
def apply[A](name: String, initial: A, interceptor: AttributeValueChangingInterceptor[A])(implicit tag: Tag[A]): Attribute[A]
def makeMetric[V](name: String, initial: V, combine: (V, V) => V)(implicit tag: Tag[V]): Attribute[V]

Alias for makeMonoidal.

Alias for makeMonoidal.

Attributes

def makeMonoidal[V](name: String, initial: V, combine: (V, V) => V)(implicit tag: Tag[V]): Attribute[V]
def unapply[V](property: Attribute[V]): Some[(String, V, AttributeValueChangingInterceptor[V])]