| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JDefinedClass |
apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode parent,
com.sun.codemodel.JDefinedClass instanceClass,
Schema currentSchema)
Add whatever Java source is required to the given generatable to
represent this schema rule.
|
public com.sun.codemodel.JDefinedClass apply(String nodeName, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode parent, com.sun.codemodel.JDefinedClass instanceClass, Schema currentSchema)
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 appliedparent - the JSON parent of nodeinstanceClass - A code generation construct to which this rule should be
appliedcurrentSchema - the schema to which this schema rule (and the given node)
belongs.Copyright © 2019. All rights reserved.