Package com.polarion.alm.tracker.model
Interface ILanguageDefinition
public interface ILanguageDefinition
Language definition.
- Since:
- 3.6.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getLabel()
Returns type definitions.Returns id of the field of Work Item of given type which stores localized description.Returns id of the field of Work Item of given type which stores localized title.void
setDefaultTypeDefinition
(com.polarion.alm.tracker.internal.LanguagesConfiguration.Type definition) void
void
setTypeDefinitions
(Map<String, com.polarion.alm.tracker.internal.LanguagesConfiguration.Type> typeDefinitions)
-
Method Details
-
getId
String getId()- Returns:
- language id or
null
for default language's definition
-
getLabel
String getLabel()- Returns:
- language label or
null
if not defined
-
setLabel
- Since:
- 3.6.2
-
getWorkItemTitleField
Returns id of the field of Work Item of given type which stores localized title.- Parameters:
type
- Work Item type (notnull
)- Returns:
- id of the field or
null
if not defined
-
getWorkItemDescriptionField
Returns id of the field of Work Item of given type which stores localized description.- Parameters:
type
- Work Item type (notnull
)- Returns:
- id of the field or
null
if not defined
-
getTypeDefinitions
Returns type definitions.- Returns:
- all type definitions or
null
if not defined - Since:
- 3.6.2
-
setTypeDefinitions
void setTypeDefinitions(Map<String, com.polarion.alm.tracker.internal.LanguagesConfiguration.Type> typeDefinitions) - Since:
- 3.6.2
-
setDefaultTypeDefinition
void setDefaultTypeDefinition(com.polarion.alm.tracker.internal.LanguagesConfiguration.Type definition) - Since:
- 3.6.2
-