| Modifier and Type | Field and Description |
|---|---|
static String |
REQUIRED_COMMENT_TEXT |
| Modifier | Constructor and Description |
|---|---|
protected |
RequiredArrayRule(RuleFactory ruleFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JDefinedClass |
apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDefinedClass jclass,
Schema schema)
Add whatever Java source is required to the given generatable to
represent this schema rule.
|
public static final String REQUIRED_COMMENT_TEXT
protected RequiredArrayRule(RuleFactory ruleFactory)
public com.sun.codemodel.JDefinedClass apply(String nodeName, com.fasterxml.jackson.databind.JsonNode node, com.sun.codemodel.JDefinedClass jclass, Schema schema)
Ruleapply in interface Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass>nodeName - the name of the JSON schema nodenode - the JSON schema node that has caused this rule to be appliedjclass - A code generation construct to which this rule should be
appliedschema - the schema to which this schema rule (and the given node)
belongs.Copyright © 2015. All rights reserved.