public class JsonUnionType extends JsonStructureType
FIELD_FILE_URL, FROM_SOURCE_METHOD| Constructor and Description |
|---|
JsonUnionType(JsonSchemaType parent,
manifold.api.fs.IFile source,
java.lang.String name,
TypeAttributes attr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstituent(java.lang.String name,
IJsonType type) |
JsonEnumType |
getCollapsedEnumType() |
java.util.Collection<? extends IJsonType> |
getConstituents() |
JsonUnionType |
merge(IJsonType type) |
void |
render(AbstractJsonTypeManifold tm,
java.lang.StringBuilder sb,
int indent,
boolean mutable) |
protected void |
resolveRefsImpl() |
addChild, addMember, addRequiredWithTokens, addSourcePositionAnnotation, addSuper, equals, equalsStructurally, findChild, getInnerTypes, getMemberLocations, getMembers, hashCode, isRequired, makeEnumType, toStringaddActualNameAnnotation, addActualNameAnnotation, addFromSourceMethod, addIssue, addRequestMethods, addSourcePositionAnnotation, addTypeReferenceAnnotation, copyWithAttributes, getActualFqn, getConstituentQn, getConstituentQn, getConstituentQnComponent, getDefinitions, getErrorHandler, getFile, getFqn, getFqn, getIdentifier, getIFile, getIssues, getLabel, getLocation, getModule, getName, getParent, getPropertyType, getPropertyType, getTm, getToken, getTypeAttributes, indent, isCollapsedUnionEnum, isParentRoot, isSchemaType, isSyntheticSchema, makeIdentifier, makeMemberIdentifier, makeTypeParameter, mergeInnerTypes, prepareToRender, removeGenerics, renderFileField, renderFileField, renderInner, resolveRefs, setDefinitions, setJsonSchema, setParent, setSyntheticSchema, setTm, setTokenpublic JsonUnionType(JsonSchemaType parent, manifold.api.fs.IFile source, java.lang.String name, TypeAttributes attr)
protected void resolveRefsImpl()
resolveRefsImpl in class JsonStructureTypepublic java.util.Collection<? extends IJsonType> getConstituents()
public void addConstituent(java.lang.String name,
IJsonType type)
public JsonUnionType merge(IJsonType type)
merge in interface IJsonTypemerge in class JsonStructureTypepublic JsonEnumType getCollapsedEnumType()
public void render(AbstractJsonTypeManifold tm, java.lang.StringBuilder sb, int indent, boolean mutable)
render in interface IJsonParentTyperender in class JsonStructureTypeCopyright © 2023. All rights reserved.