23
23
class Node {
24
24
/**
25
25
* @constructor
26
- * @param {string } identity - Unique identity
26
+ * @param {Integer } identity - Unique identity
27
27
* @param {Array } labels - Array for all labels
28
28
* @param {Object } properties - Map with node properties
29
29
*/
@@ -58,9 +58,9 @@ class Node {
58
58
class Relationship {
59
59
/**
60
60
* @constructor
61
- * @param {string } identity - Unique identity
62
- * @param {string } start - Identity of start Node
63
- * @param {string } end - Identity of end Node
61
+ * @param {Integer } identity - Unique identity
62
+ * @param {Integer } start - Identity of start Node
63
+ * @param {Integer } end - Identity of end Node
64
64
* @param {string } type - Relationship type
65
65
* @param {Object } properties - Map with relationship properties
66
66
*/
@@ -95,7 +95,7 @@ class Relationship {
95
95
class UnboundRelationship {
96
96
/**
97
97
* @constructor
98
- * @param {string } identity - Unique identity
98
+ * @param {Integer } identity - Unique identity
99
99
* @param {string } type - Relationship type
100
100
* @param {Object } properties - Map with relationship properties
101
101
*/
@@ -107,8 +107,8 @@ class UnboundRelationship {
107
107
108
108
/**
109
109
* Bind relationship
110
- * @param {string } start - Indentity of start node
111
- * @param {string } end - Indentity of end node
110
+ * @param {Integer } start - Identity of start node
111
+ * @param {Integer } end - Identity of end node
112
112
* @return {Relationship } - Created relationship
113
113
*/
114
114
bind ( start , end ) {
@@ -142,9 +142,9 @@ class UnboundRelationship {
142
142
class PathSegment {
143
143
/**
144
144
* @constructor
145
- * @param {string } start - Identity of start Node
146
- * @param {Relationship } rel - Relationship segment
147
- * @param {string } end - Identity of end Node
145
+ * @param {Node } start - start node
146
+ * @param {Relationship } rel - relationship that connects start and end node
147
+ * @param {Node } end - end node
148
148
*/
149
149
constructor ( start , rel , end ) {
150
150
this . start = start ;
0 commit comments