-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathSimpleEntity.java
More file actions
60 lines (42 loc) · 941 Bytes
/
SimpleEntity.java
File metadata and controls
60 lines (42 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.querydsl.eclipse;
import com.querydsl.core.annotations.QueryEntity;
import java.math.BigDecimal;
@QueryEntity
public class SimpleEntity {
CustomComparable comparableProp;
CustomNumber customNumber;
int intProp;
Integer integerProp;
BigDecimal bigDecimalProp;
String stringProp;
SimpleEntity entityProp;
}
class CustomComparable implements Comparable<CustomComparable> {
@Override
public int compareTo(CustomComparable o) {
return 0;
}
}
class CustomNumber extends Number implements Comparable<CustomNumber> {
private static final long serialVersionUID = 8683978836725543780L;
@Override
public double doubleValue() {
return 0;
}
@Override
public float floatValue() {
return 0;
}
@Override
public int intValue() {
return 0;
}
@Override
public long longValue() {
return 0;
}
@Override
public int compareTo(CustomNumber o) {
return 0;
}
}