org.finos.morphir.datamodel.Data$
See theData companion trait
object Data
Attributes
Members list
Type members
Classlikes
Represents data that lives beind a typedef. For example,
Represents data that lives beind a typedef. For example,
type Label = String
val x: Label = "xyz"
Should would be represented as
Aliased(Data.String("xyz"), schema = Schema.Alias("Label", Data.String))
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Datatrait Writableclass Objecttrait Matchableclass AnyShow all
See notes on Concept.Enum for information on how this type is modelled
See notes on Concept.Enum for information on how this type is modelled
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object List
Equlvalent to ELM Optional or Scala Option
Equlvalent to ELM Optional or Scala Option
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Datatrait Writableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Datatrait Writableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Datatrait Writableclass Objecttrait Matchableclass AnyShow all
A instance of a non-discrimiated union-type such as a Scala 3
A instance of a non-discrimiated union-type such as a Scala 3
type MyUnion = Int | String
Would be defined as
Union(Schema.Int, Schema.String)
A value of it would defined as:
Data.Union(Data.Int(123), Union(Schema.Int, Schema.String))
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
In this article