Skip to content

Commit a5c8acd

Browse files
author
synapticloop
committed
updated JSON output
1 parent f32ff9f commit a5c8acd

21 files changed

+699
-126
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
group = 'synapticloop'
2222
archivesBaseName = 'h2zero'
2323
description = """lightweight ORM generator for mysql/sqlite, java with extensions for taglibs and routemaster"""
24-
version = '4.2.2'
24+
version = '4.2.3'
2525

2626
tasks.withType(Javadoc).all { enabled = false }
2727

build.h2zero.mysql.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010

1111
dependencies {
12-
classpath 'synapticloop:h2zero:4.2.2'
12+
classpath 'synapticloop:h2zero:4.2.3'
1313
// classpath 'synapticloop:h2zero-extension-taglibs:1.0.0'
1414
}
1515
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class BigintValidator extends ValidatorBase {
25+
26+
public BigintValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class BlobValidator extends ValidatorBase {
25+
26+
public BlobValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
/*
4+
* Copyright (c) 2013-2020 synapticloop.
5+
* All rights reserved.
6+
*
7+
* This source code and any derived binaries are covered by the terms and
8+
* conditions of the Licence agreement ("the Licence"). You may not use this
9+
* source code or any derived binaries except in compliance with the Licence.
10+
* A copy of the Licence is available in the file named LICENCE shipped with
11+
* this source code or binaries.
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
15+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
* Licence for the specific language governing permissions and limitations
17+
* under the Licence.
18+
*/
19+
20+
21+
public class BooleanValidator extends ValidatorBase {
22+
23+
public BooleanValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
24+
super(nmField, value, minLength, maxLength, allowNull, false);
25+
}
26+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class ClobValidator extends ValidatorBase {
25+
26+
public ClobValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class DateValidator extends ValidatorBase {
25+
26+
public DateValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class DatetimeValidator extends ValidatorBase {
25+
26+
public DatetimeValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class DecValidator extends ValidatorBase {
25+
26+
public DecValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package synapticloop.h2zero.base.validator;
2+
3+
import synapticloop.h2zero.base.validator.bean.ValidationBean;
4+
import synapticloop.h2zero.base.validator.bean.ValidationFieldBean;
5+
6+
/*
7+
* Copyright (c) 2013-2020 synapticloop.
8+
* All rights reserved.
9+
*
10+
* This source code and any derived binaries are covered by the terms and
11+
* conditions of the Licence agreement ("the Licence"). You may not use this
12+
* source code or any derived binaries except in compliance with the Licence.
13+
* A copy of the Licence is available in the file named LICENCE shipped with
14+
* this source code or binaries.
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the Licence is distributed on an "AS IS" BASIS, WITHOUT
18+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
* Licence for the specific language governing permissions and limitations
20+
* under the Licence.
21+
*/
22+
23+
24+
public class DecimalValidator extends ValidatorBase {
25+
26+
public DecimalValidator(String nmField, String value, int minLength, int maxLength, boolean allowNull) {
27+
super(nmField, value, minLength, maxLength, allowNull, false);
28+
}
29+
}

0 commit comments

Comments
 (0)