2323class Node {
2424 /**
2525 * @constructor
26- * @param {string } identity - Unique identity
26+ * @param {Integer } identity - Unique identity
2727 * @param {Array } labels - Array for all labels
2828 * @param {Object } properties - Map with node properties
2929 */
@@ -58,9 +58,9 @@ class Node {
5858class Relationship {
5959 /**
6060 * @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
6464 * @param {string } type - Relationship type
6565 * @param {Object } properties - Map with relationship properties
6666 */
@@ -95,7 +95,7 @@ class Relationship {
9595class UnboundRelationship {
9696 /**
9797 * @constructor
98- * @param {string } identity - Unique identity
98+ * @param {Integer } identity - Unique identity
9999 * @param {string } type - Relationship type
100100 * @param {Object } properties - Map with relationship properties
101101 */
@@ -107,8 +107,8 @@ class UnboundRelationship {
107107
108108 /**
109109 * 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
112112 * @return {Relationship } - Created relationship
113113 */
114114 bind ( start , end ) {
@@ -142,9 +142,9 @@ class UnboundRelationship {
142142class PathSegment {
143143 /**
144144 * @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
148148 */
149149 constructor ( start , rel , end ) {
150150 this . start = start ;
0 commit comments