Package

io.udash

properties

Permalink

package properties

Visibility
  1. Public
  2. All

Type Members

  1. trait ImmutableValue[T] extends AnyRef

    Permalink

    Evidence that type T is immutable.

    Evidence that type T is immutable.

    It's generated automatically by macros, but you can create it manually to force treating T as immutable.

  2. trait ModelPart[T] extends AnyRef

    Permalink

    Evidence that type T can be used to create ModelProperty.

    Evidence that type T can be used to create ModelProperty.

    There are two valid model bases:

    • trait (not sealed trait) with following restrictions:
    • it cannot contain vars
    • it can contain implemented vals and defs, but they are not considered as subproperties
    • all abstract vals and defs (without parameters) are considered as subproperties
    • all abstract vals and defs types have to be valid io.udash.properties.ModelValue
    • case class with following restrictions:
    • it cannot contain vars
    • it can contain implemented vals and defs, but they are not considered as subproperties
    • it cannot have more than one parameters list in primary constructor
    • all elements of primary constructor are considered as subproperties
    • all types of subproperties have to be valid io.udash.properties.ModelValue
  3. trait ModelSeq[T] extends AnyRef

    Permalink

    Evidence that type T can be used to create SeqProperty.

    Evidence that type T can be used to create SeqProperty.

    T has to be Seq[X] and X has to be valid io.udash.properties.ModelValue.

  4. trait ModelValue[T] extends AnyRef

    Permalink

    Evidence that type T can be used to create Property.

    Evidence that type T can be used to create Property.

    T has to be immutable (io.udash.properties.ImmutableValue), valid io.udash.properties.ModelPart or valid io.udash.properties.ModelSeq.

Value Members

  1. object ImmutableValue

    Permalink
  2. object ModelPart

    Permalink
  3. object ModelSeq

    Permalink
  4. object ModelValue

    Permalink

Ungrouped