Commit 1331b639 authored by Daniel Bluhm's avatar Daniel Bluhm
Browse files

Update Defaults to reflect new types


Signed-off-by: Daniel Bluhm's avatarDaniel Bluhm <bluhmdj@ornl.gov>
parent b7a90ead
...@@ -22,7 +22,7 @@ public class DefaultFields { ...@@ -22,7 +22,7 @@ public class DefaultFields {
.varName("privateId") .varName("privateId")
.type(UUID.class) .type(UUID.class)
.docString("The private UUID of this element. This field is left out of matches().") .docString("The private UUID of this element. This field is left out of matches().")
.defaultValue(UUID.class.getCanonicalName() + ".randomUUID()") .defaultValue("UUID.randomUUID()")
.match(false) .match(false)
.getter(true) .getter(true)
.setter(false) .setter(false)
...@@ -113,7 +113,7 @@ public class DefaultFields { ...@@ -113,7 +113,7 @@ public class DefaultFields {
*/ */
private static Field validator = Field.builder() private static Field validator = Field.builder()
.name("validator") .name("validator")
.type(JavascriptValidator.class.getCanonicalName() + "<$interface>") .type(JavascriptValidator.class)
.docString("The validator used to check the correctness of the data.") .docString("The validator used to check the correctness of the data.")
.nullable(true) .nullable(true)
.defaultField(true) .defaultField(true)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment