org.usergrid.persistence
Class TypedEntity
java.lang.Object
org.usergrid.persistence.AbstractEntity
org.usergrid.persistence.TypedEntity
- All Implemented Interfaces:
- Comparable<Entity>, Entity, EntityRef
- Direct Known Subclasses:
- Activity, Application, Asset, Device, Event, Folder, Group, Message, Role, User
public abstract class TypedEntity
- extends AbstractEntity
TypedEntity is the abstract superclass for all typed entities. A typed entity
refers to an entity that has a concrete Java class mapped to it. Entities do
not need to have concrete typed classes, the service interacts with entities
in an entirely dynamic fashion and uses the Schema class to determine
relationships and property types, however using the typed entity classes can
be more convenient.
- Author:
- edanuff
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 |
TypedEntity
public TypedEntity()
toTypedEntity
public Entity toTypedEntity()
- Specified by:
toTypedEntity
in interface Entity
- Overrides:
toTypedEntity
in class AbstractEntity
Copyright © 2013. All Rights Reserved.