Package io.micronaut.starter.api
Class LanguageDTO
java.lang.Object
io.micronaut.starter.api.Linkable
io.micronaut.starter.api.LanguageDTO
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,Selectable<Language>
,IncludesDefaults<LanguageDefaults>
@Introspected
public class LanguageDTO
extends Linkable
implements io.micronaut.core.naming.Named, io.micronaut.core.naming.Described, Selectable<Language>, IncludesDefaults<LanguageDefaults>
DTO objects for
Language
.- Since:
- 1.0.0
- Author:
- graemerocher
-
Constructor Details
-
LanguageDTO
- Parameters:
language
- The language
-
-
Method Details
-
getExtension
-
getDescription
Description copied from interface:Selectable
The Description- Specified by:
getDescription
in interfaceio.micronaut.core.naming.Described
- Specified by:
getDescription
in interfaceSelectable<Language>
- Returns:
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
getValue
Description copied from interface:Selectable
The Underlying Value represented by the Option- Specified by:
getValue
in interfaceSelectable<Language>
- Returns:
-
getLabel
Description copied from interface:Selectable
The Label- Specified by:
getLabel
in interfaceSelectable<Language>
- Returns:
-
getDefaults
- Specified by:
getDefaults
in interfaceIncludesDefaults<LanguageDefaults>
-