Package com.graphdbapi.values.api
Interface Entity<T>
-
- All Superinterfaces:
PropertyEntity
- All Known Subinterfaces:
Node
,Relationship
public interface Entity<T> extends PropertyEntity
实体。
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getId()
返回实体唯一标识ID(Node的id是long类型,Relationship的id是String类型)-
Methods inherited from interface com.graphdbapi.values.api.PropertyEntity
getAllProperties, getProperties, getProperty, getProperty, getPropertyKeys, hasProperty, removeProperty, setProperty
-
-
-
-
Method Detail
-
getId
T getId()
返回实体唯一标识ID(Node的id是long类型,Relationship的id是String类型)- Returns:
- 返回该实体的唯一id
-
-