interface ITranslatable
Something which is translatable, identified by id with a default representation given by getDefault.
open val id: String
The id of this ITranslatable -- per default it is "Class.namename" |
|
abstract val name: String
The name of this ITranslatable -- the name together with its Class.name should identify a ITranslatable (see id). |
abstract fun getDefault(): String
Returns the default representation of this ITranslatable. |
const val ID_SEPARATOR: String
The separator used in id to separate Class.name and name. |
interface ISimpleTranslatable : ITranslatable
Something which is ITranslatable and provides a default representation by value. |
|
interface ITranslatableWithArgs : ITranslatable
Represents a ITranslatable with arguments. |
|
class Untranslatable : ITranslatable
Represents an ITranslatable which is not translatable but has only a fixed name which serves as getDefault. |