public interface Entity
Modifier and Type | Method and Description |
---|---|
Database |
db() |
java.lang.Object |
get(java.lang.Object key)
Gets the value of the attribute named by key, and is polymorphic on key type
cardinality :many attributes will always return a collection, even when only one value
|
java.util.Set<java.lang.String> |
keySet() |
Entity |
touch()
Touches all of the attributes of the entity, including any component entities recursively.
|
java.lang.Object get(java.lang.Object key)
key
- A colon-prefixed string, e.g. ":user/firstName"Entity touch()
java.util.Set<java.lang.String> keySet()
Database db()