proto-js-plugin
1.9.0
jvm
proto-js-plugin
/
io.spine.js.generate.field.precondition
/
FieldPrecondition
Field
Precondition
public
interface
FieldPrecondition
The generator of the code which performs various checks on the proto field value.
Members
Functions
exit
Null
Check
Link copied to clipboard
public
abstract
void
exitNullCheck
(
)
Generates the code to exit the
null
check block and return to the upper level.
perform
Null
Check
Link copied to clipboard
public
abstract
void
performNullCheck
(
String
value
,
String
mergeFieldFormat
)
Generates the code which checks the given field value for
null
.