org.sisioh.trinity.domain.mvc.http

ValueObjectBuilder

trait ValueObjectBuilder[T, S <: ValueObjectBuilder[T, S]] extends AnyRef

値オブジェクトのインスタンスを生成するビルダーのトレイト。

T

ビルド対象のインスタンスの型

S

このビルダークラスの型

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ValueObjectBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Configure = (S) ⇒ Unit

Abstract Value Members

  1. abstract def apply(vo: T, builder: S): Unit

    引数のビルダに対して、引数の値オブジェクトの内容を適用する。

    引数のビルダに対して、引数の値オブジェクトの内容を適用する。

    vo

    状態を引用する値オブジェクト

    builder

    ビルダ

    Attributes
    protected
  2. abstract def createValueObject: T

    ビルダの設定に基づいて値オブジェクトの新しいインスタンスを生成する。

    ビルダの設定に基づいて値オブジェクトの新しいインスタンスを生成する。

    build 内でこのビルダに追加された Configure を全て実行した後に、このメソッドが呼ばれる。
    その為、このビルダに対する変更を行うロジックはこのメソッド内に記述せず、目的となる値オブジェクトを生成し 返すロジックを記述することが望まれる。

    returns

    値オブジェクトの新しいインスタンス

    Attributes
    protected
  3. abstract def getThis: S

    このビルダークラスのインスタンスを返す。

    このビルダークラスのインスタンスを返す。

    returns

    このビルダークラスのインスタンス。

    Attributes
    protected
  4. abstract def newInstance: S

    このビルダークラスの新しいインスタンスを返す。

    このビルダークラスの新しいインスタンスを返す。

    returns

    このビルダークラスの新しいインスタンス。

    Attributes
    protected

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addConfigurator(configure: (S) ⇒ Unit): Unit

    ビルダを設定する関数を追加する。

    ビルダを設定する関数を追加する。

    configure

    Configure

    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def build(vo: T): T

    ビルダの設定に基づき、引数の値オブジェクトの内容を変更した新しいインスタンスを生成する。

    ビルダの設定に基づき、引数の値オブジェクトの内容を変更した新しいインスタンスを生成する。

    vo

    状態を引用する値オブジェクト

    returns

    voの内容に対して、このビルダの設定を上書きした値オブジェクトの新しいインスタンス

  9. def build: T

    ビルダの設定に基づいて値オブジェクトの新しいインスタンスを生成する。

    ビルダの設定に基づいて値オブジェクトの新しいインスタンスを生成する。

    returns

    値オブジェクトの新しいインスタンス

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped