public interface UserData
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_ID
Constant property name for "id" for internal storage and queries.
|
static java.lang.String |
PROP_ROLES
Constant property name for "roles" for internal storage and queries.
|
static java.lang.String |
PROP_USER_ID
Constant property name for "userId" for internal storage and queries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRolesElement(java.lang.String role)
Adds a new element to the list.
|
java.util.List<java.lang.String> |
getRoles()
Returns the value of the roles attribute.
|
java.lang.String |
getRolesElement(int index)
Returns the element at the position index in the list.
|
int |
getRolesSize()
Returns the number of elements in the "roles" container
|
java.lang.String |
getUserId()
Returns the value of the userId attribute.
|
void |
removeRolesElement(int index)
Removes the element at position index from the list.
|
void |
setRoles(java.util.List<java.lang.String> value)
Sets the value of the roles attribute.
|
void |
setUserId(java.lang.String value)
Sets the value of the userId attribute.
|
void |
swapRolesElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
static final java.lang.String PROP_ID
static final java.lang.String PROP_USER_ID
static final java.lang.String PROP_ROLES
java.lang.String getUserId()
void setUserId(java.lang.String value)
java.util.List<java.lang.String> getRoles()
void setRoles(java.util.List<java.lang.String> value)
int getRolesSize()
void addRolesElement(java.lang.String role)
void removeRolesElement(int index)
void swapRolesElement(int index1,
int index2)
java.lang.String getRolesElement(int index)
Copyright © 2012-2023 anotheria.net. All Rights Reserved.