|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectrestgroupsServer.ProfilesPilotEntity
public class ProfilesPilotEntity
For each client an instance of this class is created during the process of connecting to the RestGroups.
Constructor Summary | |
---|---|
ProfilesPilotEntity(java.lang.String token,
java.lang.String username)
Constructor. |
Method Summary | |
---|---|
ProfileEntity |
getProfileEntityReference()
Returns the reference to the BaseResource.mySession object. |
java.lang.String |
getToken()
Returns the clients token. |
java.lang.String |
getUsername()
Returns the clients username. |
boolean |
isStatusOk()
Returns the status flag. |
void |
setProfileEntityReference(ProfileEntity profileEntityReference)
Sets the profileEntityReference (reference to BaseResource.mySession ). |
void |
setStatusOk(boolean status)
Sets the status flag. |
void |
setToken(java.lang.String token)
Sets the clients new token. |
void |
setUsername(java.lang.String username)
Sets the new username. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfilesPilotEntity(java.lang.String token, java.lang.String username)
token
- sessionIdusername
- the clients usernameMethod Detail |
---|
public void setToken(java.lang.String token)
token
- the clients new tokenpublic java.lang.String getToken()
public void setStatusOk(boolean status)
status
- public boolean isStatusOk()
public void setProfileEntityReference(ProfileEntity profileEntityReference)
BaseResource.mySession
).
profileEntityReference
- new reference to the mySession objectpublic ProfileEntity getProfileEntityReference()
BaseResource.mySession
object.
public void setUsername(java.lang.String username)
username
- the new clients usernamepublic java.lang.String getUsername()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |