com.qualcommlabs.usercontext.protocol.profile
Class Profile

java.lang.Object
  extended by com.qualcommlabs.usercontext.protocol.profile.Profile
Direct Known Subclasses:
SettableProfile

public class Profile
extends Object

The Profile class aggregates ProfileAttribute objects.


Constructor Summary
Profile()
           
 
Method Summary
 void addAttribute(ProfileAttribute profileAttribute)
          Adds the attribute.
 boolean equals(Object obj)
           
 Map<String,ProfileAttribute> getAttributes()
          Gets the attributes.
 long getCreationTime()
          Gets time when this profile was created.
 CustomAttributes getCustomAttributes()
          Gets the custom profile attributes.
 int hashCode()
           
 void setCreationTime(long creationTime)
          Sets the creation date.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

getCreationTime

public long getCreationTime()
Gets time when this profile was created.

Returns:
the creation date in default timeZone.

setCreationTime

public void setCreationTime(long creationTime)
Sets the creation date.

Parameters:
creationTime - the new creation date

getAttributes

public Map<String,ProfileAttribute> getAttributes()
Gets the attributes.

Returns:
the attributes

addAttribute

public void addAttribute(ProfileAttribute profileAttribute)
Adds the attribute.

Parameters:
profileAttribute - the profile attribute

getCustomAttributes

public CustomAttributes getCustomAttributes()
Gets the custom profile attributes.

Returns:
the attributes

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Qualcomm Retail Solutions, Inc.. All Rights Reserved.