@@ -44,6 +44,7 @@ public class Property<ENTITY> implements Serializable {
44
44
45
45
public final String name ;
46
46
public final boolean isId ;
47
+ public final boolean isVirtual ;
47
48
public final String dbName ;
48
49
public final Class <? extends PropertyConverter > converterClass ;
49
50
@@ -58,6 +59,10 @@ public Property(EntityInfo<ENTITY> entity, int ordinal, int id, Class<?> type, S
58
59
this (entity , ordinal , id , type , name , false , name , null , null );
59
60
}
60
61
62
+ public Property (EntityInfo <ENTITY > entity , int ordinal , int id , Class <?> type , String name , boolean isVirtual ) {
63
+ this (entity , ordinal , id , type , name , false , isVirtual , name , null , null );
64
+ }
65
+
61
66
public Property (EntityInfo <ENTITY > entity , int ordinal , int id , Class <?> type , String name , boolean isId ,
62
67
@ Nullable String dbName ) {
63
68
this (entity , ordinal , id , type , name , isId , dbName , null , null );
@@ -66,12 +71,19 @@ public Property(EntityInfo<ENTITY> entity, int ordinal, int id, Class<?> type, S
66
71
public Property (EntityInfo <ENTITY > entity , int ordinal , int id , Class <?> type , String name , boolean isId ,
67
72
@ Nullable String dbName , @ Nullable Class <? extends PropertyConverter > converterClass ,
68
73
@ Nullable Class customType ) {
74
+ this (entity , ordinal , id , type , name , isId , false , dbName , converterClass , customType );
75
+ }
76
+
77
+ public Property (EntityInfo <ENTITY > entity , int ordinal , int id , Class <?> type , String name , boolean isId ,
78
+ boolean isVirtual , @ Nullable String dbName ,
79
+ @ Nullable Class <? extends PropertyConverter > converterClass , @ Nullable Class customType ) {
69
80
this .entity = entity ;
70
81
this .ordinal = ordinal ;
71
82
this .id = id ;
72
83
this .type = type ;
73
84
this .name = name ;
74
85
this .isId = isId ;
86
+ this .isVirtual = isVirtual ;
75
87
this .dbName = dbName ;
76
88
this .converterClass = converterClass ;
77
89
this .customType = customType ;
0 commit comments