com.qualcommlabs.usercontext.protocol
Class PlaceAttributes

java.lang.Object
  extended by com.qualcommlabs.usercontext.protocol.PlaceAttributes

public class PlaceAttributes
extends Object


Constructor Summary
PlaceAttributes(Map<String,String> placeAttributes)
           
 
Method Summary
 boolean equals(Object obj)
           
 String get(String key)
          Gets the attribute value for a specified key
 int hashCode()
           
 Set<String> keySet()
          Gets keys from all Place Attributes
 void set(String key, String value)
          Sets an attribute value for a specified key
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaceAttributes

public PlaceAttributes(Map<String,String> placeAttributes)
Method Detail

get

public String get(String key)
Gets the attribute value for a specified key

Parameters:
key - the key
Returns:
the value for the specified key

set

public void set(String key,
                String value)
Sets an attribute value for a specified key

Parameters:
key - the key
value - the value

keySet

public Set<String> keySet()
Gets keys from all Place Attributes

Returns:
all keys

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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