Package org.apache.unomi.api
Class Persona
- java.lang.Object
-
- org.apache.unomi.api.Item
-
- org.apache.unomi.api.Profile
-
- org.apache.unomi.api.Persona
-
- All Implemented Interfaces:
Serializable
,SystemPropertiesItem
public class Persona extends Profile
A persona is a "virtual" profile used to represent categories of profiles, and may also be used to test how a personalized experience would look like using this virtual profile. A persona can define predefined properties and sessions. Persona definition make it possible to “emulate” a certain type of profile, e.g : US visitor, non-US visitor, etc.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class org.apache.unomi.api.Profile
getConsents, getMergedWith, getNestedProperty, getProperties, getProperty, getScope, getScores, getSegments, getSystemProperties, isAnonymousProfile, setConsent, setMergedWith, setProperties, setProperty, setScores, setSegments, setSystemProperties, setSystemProperty, toString
-
Methods inherited from class org.apache.unomi.api.Item
equals, getItemId, getItemType, getItemType, getSystemMetadata, getVersion, hashCode, setItemId, setItemType, setScope, setSystemMetadata, setVersion
-
-
-
-
Field Detail
-
ITEM_TYPE
public static final String ITEM_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Persona
public Persona()
-
Persona
public Persona(String personaId)
-
-