@@ -4,17 +4,17 @@ public class LdbcQuery2Result {
4
4
private final long personId ;
5
5
private final String personFirstName ;
6
6
private final String personLastName ;
7
- private final long postOrCommentId ;
8
- private final String postOrCommentContent ;
9
- private final long postOrCommentCreationDate ;
7
+ private final long messageId ;
8
+ private final String messageContent ;
9
+ private final long messageCreationDate ;
10
10
11
- public LdbcQuery2Result (long personId , String personFirstName , String personLastName , long postOrCommentId , String postOrCommentContent , long postOrCommentCreationDate ) {
11
+ public LdbcQuery2Result (long personId , String personFirstName , String personLastName , long messageId , String messageContent , long messageCreationDate ) {
12
12
this .personId = personId ;
13
13
this .personFirstName = personFirstName ;
14
14
this .personLastName = personLastName ;
15
- this .postOrCommentId = postOrCommentId ;
16
- this .postOrCommentContent = postOrCommentContent ;
17
- this .postOrCommentCreationDate = postOrCommentCreationDate ;
15
+ this .messageId = messageId ;
16
+ this .messageContent = messageContent ;
17
+ this .messageCreationDate = messageCreationDate ;
18
18
}
19
19
20
20
public long personId () {
@@ -29,16 +29,16 @@ public String personLastName() {
29
29
return personLastName ;
30
30
}
31
31
32
- public long postOrCommentId () {
33
- return postOrCommentId ;
32
+ public long messageId () {
33
+ return messageId ;
34
34
}
35
35
36
- public String postOrCommentContent () {
37
- return postOrCommentContent ;
36
+ public String messageContent () {
37
+ return messageContent ;
38
38
}
39
39
40
- public long postOrCommentCreationDate () {
41
- return postOrCommentCreationDate ;
40
+ public long messageCreationDate () {
41
+ return messageCreationDate ;
42
42
}
43
43
44
44
@ Override
@@ -49,13 +49,13 @@ public boolean equals(Object o) {
49
49
LdbcQuery2Result result = (LdbcQuery2Result ) o ;
50
50
51
51
if (personId != result .personId ) return false ;
52
- if (postOrCommentCreationDate != result .postOrCommentCreationDate ) return false ;
53
- if (postOrCommentId != result .postOrCommentId ) return false ;
52
+ if (messageCreationDate != result .messageCreationDate ) return false ;
53
+ if (messageId != result .messageId ) return false ;
54
54
if (personFirstName != null ? !personFirstName .equals (result .personFirstName ) : result .personFirstName != null )
55
55
return false ;
56
56
if (personLastName != null ? !personLastName .equals (result .personLastName ) : result .personLastName != null )
57
57
return false ;
58
- if (postOrCommentContent != null ? !postOrCommentContent .equals (result .postOrCommentContent ) : result .postOrCommentContent != null )
58
+ if (messageContent != null ? !messageContent .equals (result .messageContent ) : result .messageContent != null )
59
59
return false ;
60
60
61
61
return true ;
@@ -67,9 +67,9 @@ public String toString() {
67
67
"personId=" + personId +
68
68
", personFirstName='" + personFirstName + '\'' +
69
69
", personLastName='" + personLastName + '\'' +
70
- ", postOrCommentId =" + postOrCommentId +
71
- ", postOrCommentContent ='" + postOrCommentContent + '\'' +
72
- ", postOrCommentCreationDate =" + postOrCommentCreationDate +
70
+ ", messageId =" + messageId +
71
+ ", messageContent ='" + messageContent + '\'' +
72
+ ", messageCreationDate =" + messageCreationDate +
73
73
'}' ;
74
74
}
75
75
}
0 commit comments