doc / ch.tutteli.atrium.reporting.translating / TranslatableWithArgs

TranslatableWithArgs

class TranslatableWithArgs : ITranslatableWithArgs

An ITranslatable which contains placeholders for arguments.

Constructors

<init>

TranslatableWithArgs(translatable: ITranslatable, argument: Any)

Creates an ITranslatableWithArgs with the given translatable and its one and only argument.

TranslatableWithArgs(translatable: ITranslatable, arg1: Any, vararg otherArguments: Any)

Creates an ITranslatableWithArgs with the given translatable, the first argument arg1 and the otherArguments.

TranslatableWithArgs(translatable: ITranslatable, arguments: Array<Any>)

Properties

arguments

val arguments: Array<Any>

The arguments which should be used to substitute the placeholders of the translatable.

translatable

val translatable: ITranslatable

The ITranslatable as such which contains placeholders and for which translations can be been defined.

Inherited Properties

id

open val id: <ERROR CLASS>

The id of this ITranslatable -- per default it is "Class.namename"

name

open val name: String

The name of this ITranslatable -- the name together with its Class.name should identify a ITranslatable (see id).

Inherited Functions

getDefault

open fun getDefault(): <ERROR CLASS>

Returns the default representation of this ITranslatable.