public class JsonUnionType extends JsonStructureType
FIELD_FILE_URL| 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() |
addChild, addMember, addRequiredWithTokens, addSourcePositionAnnotation, addSuper, equals, equalsStructurally, findChild, getInnerTypes, getMemberLocations, getMembers, hashCode, isRequired, makeEnumType, toStringaddActualNameAnnotation, addIssue, addSourcePositionAnnotation, addTypeReferenceAnnotation, copyWithAttributes, getConstituentQn, getConstituentQn, getConstituentQnComponent, getDefinitions, getFile, getFqn, getIdentifier, getIssues, getLabel, getName, getParent, getPropertyType, getPropertyType, getToken, getTypeAttributes, indent, isCollapsedUnionEnum, isParentRoot, isSchemaType, makeIdentifier, makeMemberIdentifier, mergeInnerTypes, removeGenerics, renderFileField, renderFileField, resolveRefs, setDefinitions, setJsonSchema, setParent, setTokenpublic 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.