public interface Entity
extends com.tinkerpop.frames.VertexFrame
Modifier and Type | Interface and Description |
---|---|
static class |
Entity.Impl |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
as(Class<T> cls)
Cast this frame to another type.
|
String |
getId()
Get the unique item id.
|
<T> T |
getProperty(Enum<?> key) |
<T> T |
getProperty(String key)
Get an arbitrary property from the underlying vertex.
|
Set<String> |
getPropertyKeys()
Get the property keys from the underlying vertex.
|
String |
getType()
Get the type key for this frame.
|
<T extends Entity> T as(Class<T> cls)
T
- the generic classcls
- the class of the framed typeString getId()
String getType()
<T> T getProperty(String key)
T
- the property's typekey
- the property key<T> T getProperty(Enum<?> key)
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.