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

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 {
.varName("privateId")
.type(UUID.class)
.docString("The private UUID of this element. This field is left out of matches().")
.defaultValue(UUID.class.getCanonicalName() + ".randomUUID()")
.defaultValue("UUID.randomUUID()")
.match(false)
.getter(true)
.setter(false)
......@@ -113,7 +113,7 @@ public class DefaultFields {
*/
private static Field validator = Field.builder()
.name("validator")
.type(JavascriptValidator.class.getCanonicalName() + "<$interface>")
.type(JavascriptValidator.class)
.docString("The validator used to check the correctness of the data.")
.nullable(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