Factory methods for creating Fields. Fields values can also be concatenated to produce "summary" fields.
val f1 = Field(label, "hello") val f2 = Field(label, "world") val concatenatedFields = Field(label, f1, f2) concatenatedFields.toString == label: hello/world
val concatenatedFields2 = Field(label, ", ", f1, f2) concatenatedFields2.toString == label: hello, world
Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Concrete methods
create a Field with no label
create a Field with no label
Attributes
create a Field with a label and a value
create a Field with a label and a value
Attributes
create a Field with a label and other fields values, concatenated as strings
create a Field with a label and other fields values, concatenated as strings
Attributes
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product