Package eu.c6.gibraltar.api.common
Class ApiMember
java.lang.Object
eu.c6.gibraltar.api.common.CObject
eu.c6.gibraltar.api.common.ApiMember
- All Implemented Interfaces:
ICObject,Serializable,Cloneable
The Class ApiMember to represent a user or group.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant for field name of group value.static final StringThe constant for field name of user value.Fields inherited from interface eu.c6.gibraltar.api.common.ICObject
CHARSET, FIELD_SEPARATOR_DOT, FIELD_SEPARATOR_PATH -
Constructor Summary
Constructors -
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
-
Field Details
-
USER
The constant for field name of user value.- See Also:
-
GROUP
The constant for field name of group value.- See Also:
-
-
Constructor Details
-
Method Details
-
isUser
public boolean isUser()Checks if member is a user.- Returns:
- true, if it is a user
-
isGroup
public boolean isGroup()Checks if member is a group.- Returns:
- true, if it is a group
-
getName
Gets the name.- Returns:
- the name
-