Trait

io.udash.properties

CastableReadableProperty

Related Doc: package properties

Permalink

trait CastableReadableProperty[A] extends ReadableProperty[A]

Property which can be casted.
NOTE: Those casts are checked in compilation time: "it compiles" == "it works".

Linear Supertypes
ReadableProperty[A], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CastableReadableProperty
  2. ReadableProperty
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def executionContext: ExecutionContext

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  2. abstract def get: A

    Permalink

    returns

    Current property value.

    Definition Classes
    ReadableProperty
  3. abstract def id: UUID

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    ReadableProperty
  4. abstract def parent: Property[_]

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asModel(implicit ev: ModelPart[A]): ReadableModelProperty[A]

    Permalink

    Safely casts DirectProperty[A] to ModelProperty[A]

  6. def asSeq[B](implicit ev: ModelSeq[A], sev: =:=[A, Seq[B]]): ReadableSeqProperty[B, CastableReadableProperty[B]]

    Permalink

    Safely casts DirectProperty[Seq[A]] to DirectSeqProperty[A]

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def combine[B, O](property: Property[B])(combiner: (A, B) ⇒ O)(implicit arg0: ModelValue[O]): Property[O]

    Permalink
    Definition Classes
    ReadableProperty
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fireValueListeners(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isValid: Future[ValidationResult]

    Permalink

    returns

    validation result as Future, which will be completed on the validation process ending. It can fire validation process if needed.

    Definition Classes
    ReadableProperty
  17. def listen(l: (A) ⇒ Any): utils.Registration

    Permalink

    Registers listener which will be called on value change.

    Registers listener which will be called on value change.

    Definition Classes
    ReadableProperty
  18. val listeners: Set[(A) ⇒ Any]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. def transform[B](transformer: (A) ⇒ B): ReadableProperty[B]

    Permalink

    Creates ReadableProperty[B] linked to this.

    Creates ReadableProperty[B] linked to this. Changes will be bidirectionally synchronized between this and new property.

    B

    Type of new Property.

    transformer

    Method transforming type A of existing Property to type B of new Property.

    returns

    New ReadableProperty[B], which will be synchronised with original ReadableProperty[A].

    Definition Classes
    ReadableProperty
  25. def validate(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  26. var validationResult: Future[ValidationResult]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  27. val validators: Set[Validator[A]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  28. def valueChanged(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ReadableProperty[A]

Inherited from AnyRef

Inherited from Any

Ungrouped