public class BaseEntity extends BaseTupleStore implements Entity
Entity.| Constructor and Description |
|---|
BaseEntity(Entity entity)
Copy constructor.
|
BaseEntity(String type)
Defines an
Entity object for the given type and a random uuid. |
BaseEntity(String type,
String id)
Defines an
Entity for the given type and id |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
String |
getType() |
int |
hashCode() |
String |
toString() |
containsKey, get, getAll, getTuples, keys, put, putAll, remove, remove, removeAll, removeAllpublic BaseEntity(String type)
Entity object for the given type and a random uuid.public BaseEntity(Entity entity)
public String getId()
getId in interface Identifiablepublic boolean equals(Object o)
equals in class BaseTupleStorepublic int hashCode()
hashCode in class BaseTupleStoreCopyright © 2014 Calrissian. All rights reserved.