Package org.onebusaway.users.model
Class UserIndex
- java.lang.Object
-
- org.onebusaway.users.model.UserIndex
-
- All Implemented Interfaces:
Serializable
@Entity public class UserIndex extends Object implements Serializable
A database-serialized linkage between some type-value id index (seeUserIndexKey) and aUseraccount. EachUserIndexrefers to just oneUseraccount but each user account potentially has multiple user indices. Each user index also has an type-specific credentials value that can be used to authenticate a user using the specified user index. SeeUserIndexTypesfor a set of common user index types used in the system. See discussion in the document for theUserclass.- Author:
- bdferris
- See Also:
UserIndexKey,User,UserService,UserIndexTypes, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCredentials()UserIndexKeygetId()UsergetUser()inthashCode()ObjectInterfacevoidsetCredentials(String credentials)voidsetId(UserIndexKey id)voidsetUser(User user)StringtoString()
-
-
-
Method Detail
-
getId
public UserIndexKey getId()
-
setId
public void setId(UserIndexKey id)
-
getCredentials
public String getCredentials()
-
setCredentials
public void setCredentials(String credentials)
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
-