org.usergrid.persistence.entities
Class Message

java.lang.Object
  extended by org.usergrid.persistence.AbstractEntity
      extended by org.usergrid.persistence.TypedEntity
          extended by org.usergrid.persistence.entities.Message
All Implemented Interfaces:
Comparable<Entity>, Entity, EntityRef

public class Message
extends TypedEntity

A generic Message type for message queue type operations. For status updates and other social actions, use Activity instead.


Field Summary
protected  Set<String> connections
           
static String ENTITY_TYPE
           
 
Fields inherited from class org.usergrid.persistence.AbstractEntity
created, dynamic_properties, dynamic_sets, modified, uuid
 
Constructor Summary
Message()
           
Message(UUID id)
           
 
Method Summary
 String getCategory()
           
 Set<String> getConnections()
           
 void setCategory(String category)
           
 void setConnections(Set<String> connections)
           
 
Methods inherited from class org.usergrid.persistence.TypedEntity
toTypedEntity
 
Methods inherited from class org.usergrid.persistence.AbstractEntity
addProperties, clearDataset, clearMetadata, compareTo, getCollections, getConnections, getCreated, getDataset, getDynamicProperties, getMetadata, getModified, getName, getProperties, getProperty, getType, getUuid, mergeDataset, mergeMetadata, setCollections, setConnections, setCreated, setDataset, setDynamicProperty, setMetadata, setModified, setProperties, setProperty, setType, setUuid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTITY_TYPE

public static final String ENTITY_TYPE
See Also:
Constant Field Values

connections

protected Set<String> connections
Constructor Detail

Message

public Message()

Message

public Message(UUID id)
Method Detail

getCategory

public String getCategory()

setCategory

public void setCategory(String category)

getConnections

public Set<String> getConnections()

setConnections

public void setConnections(Set<String> connections)


Copyright © 2013. All Rights Reserved.