Package org.apache.unomi.api
Class PersonaWithSessions
- java.lang.Object
-
- org.apache.unomi.api.PersonaWithSessions
-
- All Implemented Interfaces:
Serializable
public class PersonaWithSessions extends Object implements Serializable
A convenience object gathering aPersona
and its associatedPersonaSession
s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonaWithSessions()
PersonaWithSessions(Persona persona, List<PersonaSession> sessions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonaSession
getLastSession()
Persona
getPersona()
List<PersonaSession>
getSessions()
void
setPersona(Persona persona)
void
setSessions(List<PersonaSession> sessions)
-
-
-
Constructor Detail
-
PersonaWithSessions
public PersonaWithSessions()
-
PersonaWithSessions
public PersonaWithSessions(Persona persona, List<PersonaSession> sessions)
-
-
Method Detail
-
getPersona
public Persona getPersona()
-
setPersona
public void setPersona(Persona persona)
-
getSessions
public List<PersonaSession> getSessions()
-
setSessions
public void setSessions(List<PersonaSession> sessions)
-
getLastSession
public PersonaSession getLastSession()
-
-