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

ITranslatableWithArgs

interface ITranslatableWithArgs : ITranslatable

Represents a ITranslatable with arguments.

It uses a translatable, which has placeholders, as basis and java.lang.String.format to substitute the placeholders with the arguments.

Properties

arguments

abstract val arguments: Array<Any>

The arguments.

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).

translatable

abstract val translatable: ITranslatable

A ITranslatable with placeholders for the arguments.

Functions

getDefault

open fun getDefault(): <ERROR CLASS>

Returns the default representation of this ITranslatable.

Inheritors

TranslatableWithArgs

class TranslatableWithArgs : ITranslatableWithArgs

An ITranslatable which contains placeholders for arguments.