Package org.neo4j.ogm.metadata.schema
Interface Node
public interface Node
Node in a
Schema
- Author:
- Frantisek Hartman, Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionlabel()
Primary - the most specific - label of the nodeRelationships declared on this node The key in the map is the a name of the relationship, not type.default Collection<String>
-
Method Details
-
label
Primary - the most specific - label of the node- Returns:
- label
-
relationships
Map<String,Relationship> relationships()Relationships declared on this node The key in the map is the a name of the relationship, not type. E.g. a field name in the class- Returns:
- relationship
-
types
- Returns:
- The types for which the relationship is mapped under relationshipName in the schema.
-