public class JsonUnionType extends JsonStructureType
| Constructor and Description |
|---|
JsonUnionType(JsonSchemaType parent,
URL source,
String name,
TypeAttributes attr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstituent(String name,
IJsonType type) |
JsonEnumType |
getCollapsedEnumType() |
Collection<? extends IJsonType> |
getConstituents() |
JsonUnionType |
merge(IJsonType type) |
void |
render(StringBuilder sb,
int indent,
boolean mutable) |
protected void |
resolveRefsImpl() |
addActualNameAnnotation, addChild, addMember, addRequiredWithTokens, addSourcePositionAnnotation, addSourcePositionAnnotation, addSuper, equals, equalsStructurally, findChild, getFqn, getInnerTypes, getMemberLocations, getMembers, getToken, hashCode, indent, isRequired, makeEnumType, renderFileField, setToken, toStringaddIssue, copyWithAttributes, getDefinitions, getFile, getIdentifier, getIssues, getLabel, getName, getParent, getTypeAttributes, isParentRoot, isSchemaType, mergeInnerTypes, resolveRefs, setDefinitions, setJsonSchema, setParentpublic JsonUnionType(JsonSchemaType parent, URL source, String name, TypeAttributes attr)
protected void resolveRefsImpl()
resolveRefsImpl in class JsonStructureTypepublic Collection<? extends IJsonType> getConstituents()
public JsonUnionType merge(IJsonType type)
merge in interface IJsonTypemerge in class JsonStructureTypepublic JsonEnumType getCollapsedEnumType()
public void render(StringBuilder sb, int indent, boolean mutable)
render in interface IJsonParentTyperender in class JsonStructureTypeCopyright © 2019. All rights reserved.