@@ -44,19 +44,18 @@ public final class TestEntity_ implements EntityInfo<TestEntity> {
44
44
45
45
public final static TestEntity_ __INSTANCE = new TestEntity_ ();
46
46
47
- private static int ID ;
48
-
49
- public final static Property <TestEntity > id = new Property (__INSTANCE , ID ++, ID , long .class , "id" , true , "id" );
50
- public final static Property <TestEntity > simpleBoolean = new Property (__INSTANCE , ID ++, ID , boolean .class , "simpleBoolean" , false , "simpleBoolean" );
51
- public final static Property <TestEntity > simpleByte = new Property (__INSTANCE , ID ++, ID , byte .class , "simpleByte" , false , "simpleByte" );
52
- public final static Property <TestEntity > simpleShort = new Property (__INSTANCE , ID ++, ID , short .class , "simpleShort" , false , "simpleShort" );
53
- public final static Property <TestEntity > simpleInt = new Property (__INSTANCE , ID ++, ID , int .class , "simpleInt" , false , "simpleInt" );
54
- public final static Property <TestEntity > simpleLong = new Property (__INSTANCE , ID ++, ID , long .class , "simpleLong" , false , "simpleLong" );
55
- public final static Property <TestEntity > simpleFloat = new Property (__INSTANCE , ID ++, ID , float .class , "simpleFloat" , false , "simpleFloat" );
56
- public final static Property <TestEntity > simpleDouble = new Property (__INSTANCE , ID ++, ID , double .class , "simpleDouble" , false , "simpleDouble" );
57
- public final static Property <TestEntity > simpleString = new Property (__INSTANCE , ID ++, ID , String .class , "simpleString" , false , "simpleString" );
58
- public final static Property <TestEntity > simpleByteArray = new Property (__INSTANCE , ID ++, ID , byte [].class , "simpleByteArray" , false , "simpleByteArray" );
59
-
47
+ public final static Property <TestEntity > id = new Property <>(__INSTANCE , 0 , 1 , long .class , "id" , true , "id" );
48
+ public final static Property <TestEntity > simpleBoolean = new Property <>(__INSTANCE , 1 , 2 , boolean .class , "simpleBoolean" , false , "simpleBoolean" );
49
+ public final static Property <TestEntity > simpleByte = new Property <>(__INSTANCE , 2 , 3 , byte .class , "simpleByte" , false , "simpleByte" );
50
+ public final static Property <TestEntity > simpleShort = new Property <>(__INSTANCE , 3 , 4 , short .class , "simpleShort" , false , "simpleShort" );
51
+ public final static Property <TestEntity > simpleInt = new Property <>(__INSTANCE , 4 , 5 , int .class , "simpleInt" , false , "simpleInt" );
52
+ public final static Property <TestEntity > simpleLong = new Property <>(__INSTANCE , 5 , 6 , long .class , "simpleLong" , false , "simpleLong" );
53
+ public final static Property <TestEntity > simpleFloat = new Property <>(__INSTANCE , 6 , 7 , float .class , "simpleFloat" , false , "simpleFloat" );
54
+ public final static Property <TestEntity > simpleDouble = new Property <>(__INSTANCE , 7 , 8 , double .class , "simpleDouble" , false , "simpleDouble" );
55
+ public final static Property <TestEntity > simpleString = new Property <>(__INSTANCE , 8 , 9 , String .class , "simpleString" , false , "simpleString" );
56
+ public final static Property <TestEntity > simpleByteArray = new Property <>(__INSTANCE , 9 , 10 , byte [].class , "simpleByteArray" , false , "simpleByteArray" );
57
+
58
+ @ SuppressWarnings ("unchecked" )
60
59
public final static Property <TestEntity >[] __ALL_PROPERTIES = new Property []{
61
60
id ,
62
61
simpleInt ,
@@ -68,7 +67,7 @@ public final class TestEntity_ implements EntityInfo<TestEntity> {
68
67
simpleByteArray
69
68
};
70
69
71
- public final static Property __ID_PROPERTY = id ;
70
+ public final static Property < TestEntity > __ID_PROPERTY = id ;
72
71
73
72
@ Override
74
73
public String getEntityName () {
@@ -91,12 +90,12 @@ public String getDbName() {
91
90
}
92
91
93
92
@ Override
94
- public Property [] getAllProperties () {
93
+ public Property < TestEntity > [] getAllProperties () {
95
94
return __ALL_PROPERTIES ;
96
95
}
97
96
98
97
@ Override
99
- public Property getIdProperty () {
98
+ public Property < TestEntity > getIdProperty () {
100
99
return __ID_PROPERTY ;
101
100
}
102
101
0 commit comments