@@ -24,15 +24,16 @@ private void registerPlatform() {
2424 .with ("module" , "Example" )
2525 .with ("module_key" , "example" );
2626
27- PropertyDescriptor id =
27+ PropertyDescriptor id =
2828 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .ID_PROPERTY , Long .class )
2929 ;
30- PropertyDescriptor name =
30+ PropertyDescriptor name =
3131 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .NAME_PROPERTY , String .class )
3232 ;
33- PropertyDescriptor version =
33+ PropertyDescriptor version =
3434 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .VERSION_PROPERTY , Long .class )
3535 ;
36+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .ID_PROPERTY ).with ("required" , "true" );
3637 entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .ID_PROPERTY ).with ("isPassword" , "false" )
3738 .with ("isVersion" , "false" )
3839 .with ("oracle_sqlType" , "number(11)" )
@@ -49,6 +50,7 @@ private void registerPlatform() {
4950 .with ("isTime" , "false" )
5051 .with ("isText" , "false" );
5152
53+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .NAME_PROPERTY ).with ("required" , "true" );
5254 entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .NAME_PROPERTY ).with ("isPassword" , "false" )
5355 .with ("max" , "100" )
5456 .with ("isVersion" , "false" )
@@ -65,6 +67,7 @@ private void registerPlatform() {
6567 .with ("isTime" , "false" )
6668 .with ("isText" , "false" );
6769
70+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .VERSION_PROPERTY ).with ("required" , "true" );
6871 entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .platform .Platform .VERSION_PROPERTY ).with ("isPassword" , "false" )
6972 .with ("isVersion" , "true" )
7073 .with ("oracle_sqlType" , "number(11)" )
@@ -92,21 +95,22 @@ private void registerWorkItem() {
9295 .with ("module" , "Example" )
9396 .with ("module_key" , "example" );
9497
95- PropertyDescriptor id =
98+ PropertyDescriptor id =
9699 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .ID_PROPERTY , Long .class )
97100 ;
98- PropertyDescriptor title =
101+ PropertyDescriptor title =
99102 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .TITLE_PROPERTY , String .class )
100103 ;
101- PropertyDescriptor description =
104+ PropertyDescriptor description =
102105 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .DESCRIPTION_PROPERTY , String .class )
103106 ;
104- PropertyDescriptor platform =
107+ PropertyDescriptor platform =
105108 entityDescriptor .addObjectProperty ($factory , com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .PLATFORM_PROPERTY , com .teaql .runtimeexampleconformanceservice .platform .Platform .INTERNAL_TYPE , com .teaql .runtimeexampleconformanceservice .platform .Platform .WORK_ITEM_LIST_PROPERTY , com .teaql .runtimeexampleconformanceservice .platform .Platform .class )
106109 ;
107- PropertyDescriptor version =
110+ PropertyDescriptor version =
108111 entityDescriptor .addSimpleProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .VERSION_PROPERTY , Long .class )
109112 ;
113+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .ID_PROPERTY ).with ("required" , "true" );
110114 entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .ID_PROPERTY ).with ("isPassword" , "false" )
111115 .with ("isVersion" , "false" )
112116 .with ("oracle_sqlType" , "number(11)" )
@@ -123,6 +127,7 @@ private void registerWorkItem() {
123127 .with ("isTime" , "false" )
124128 .with ("isText" , "false" );
125129
130+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .TITLE_PROPERTY ).with ("required" , "true" );
126131 entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .TITLE_PROPERTY ).with ("isPassword" , "false" )
127132 .with ("max" , "80" )
128133 .with ("isVersion" , "false" )
@@ -155,7 +160,9 @@ private void registerWorkItem() {
155160 .with ("isTime" , "false" )
156161 .with ("isText" , "false" );
157162
163+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .PLATFORM_PROPERTY ).with ("required" , "true" );
158164
165+ entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .VERSION_PROPERTY ).with ("required" , "true" );
159166 entityDescriptor .findProperty (com .teaql .runtimeexampleconformanceservice .workitem .WorkItem .VERSION_PROPERTY ).with ("isPassword" , "false" )
160167 .with ("isVersion" , "true" )
161168 .with ("oracle_sqlType" , "number(11)" )
0 commit comments