com.qualcommlabs.usercontext.protocol
Class ContentAttributes
java.lang.Object
com.qualcommlabs.usercontext.protocol.ContentAttributes
public class ContentAttributes
- extends Object
ContentAttributes
public ContentAttributes()
getAttributes
public Map<String,Object> getAttributes()
addStringAttribute
public void addStringAttribute(String key,
String value)
- Adds string value for a key.
- Parameters:
key
- the keyvalue
- the value
getStringAttribute
public String getStringAttribute(String key)
- Gets the content attribute with the given name.
- Parameters:
key
- the key
- Returns:
- the attribute value
keys
public Set<String> keys()
size
public int size()
- Returns:
- the number of content attributes
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.