| Modifier and Type | Field and Description |
|---|---|
String |
CORRESPONDING_PROPERTY_TEXT |
| Constructor and Description |
|---|
JavaNameRule() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JDocComment |
apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDocCommentable generatableType,
Schema currentSchema)
Add whatever Java source is required to the given generatable to
represent this schema rule.
|
public final String CORRESPONDING_PROPERTY_TEXT
public com.sun.codemodel.JDocComment apply(String nodeName, com.fasterxml.jackson.databind.JsonNode node, com.sun.codemodel.JDocCommentable generatableType, Schema currentSchema)
Ruleapply in interface Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocComment>nodeName - the name of the JSON schema nodenode - the JSON schema node that has caused this rule to be appliedgeneratableType - A code generation construct to which this rule should be
appliedcurrentSchema - the schema to which this schema rule (and the given node)
belongs.Copyright © 2016. All rights reserved.