Package eu.c6.gibraltar.api.common
Class ApiLabel
java.lang.Object
eu.c6.gibraltar.api.common.CObject
eu.c6.gibraltar.api.common.ApiLabel
- All Implemented Interfaces:
ICObject,Serializable,Cloneable
The Class ApiLabel to manage localized labels.
- See Also:
-
Field Summary
Fields inherited from interface eu.c6.gibraltar.api.common.ICObject
CHARSET, FIELD_SEPARATOR_DOT, FIELD_SEPARATOR_PATH -
Method Summary
Methods inherited from class eu.c6.gibraltar.api.common.CObject
addIntoList, addValueIntoList, buildPath, clearList, clone, clone, clone, contains, containsField, convertFieldNameToJsonPath, convertJsonPathToFieldName, equals, get, getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFieldNames, getFieldNamesFlattenList, getFieldNamesList, getInputStream, getInt, getInt, getList, getListNestedObject, getListNestedObject, getListNestedObject, getListNestedObjectByAttribute, getListNestedObjectByAttribute, getListSize, getListString, getLocalDateTime, getLocalDateTime, getLong, getLong, getNestedObject, getNestedObject, getNestedObject, getNestedObjectNamesList, getOutputStream, getReader, getString, getString, insertIntoList, isBoolean, isDate, isDateList, isDouble, isEmpty, isFieldEmpty, isInt, isJSONValid, isList, isNestedObject, isNestedObjectList, isString, load, load, merge, mergeDeep, parse, remove, removeFromList, removeValueFromList, replaceIntoList, resetField, set, set, set, set, set, set, set, set, set, setList, setNull, textValue, toFlattenMapValues, toJson, toMap, toString, toString
-
Method Details
-
getLang
Gets the language- Returns:
- the language
-
getLabel
Gets the label- Returns:
- the label
-
mapToList
Converts a map of locales and values to a list of ApiLabel.- Parameters:
map- the map of locales and values- Returns:
- the list of ApiLabel loaded from the Map
-