public class JsonListType extends JsonSchemaType
FIELD_FILE_URL, FROM_SOURCE_METHOD
Constructor and Description |
---|
JsonListType(String label,
manifold.api.fs.IFile source,
JsonSchemaType parent,
TypeAttributes attr) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(String name,
IJsonParentType type) |
boolean |
equals(Object o) |
boolean |
equalsStructurally(IJsonType o)
JSon Schema types normally compare by identity, however for
some use-cases we still need to compare them structurally e.g.,
for merging types.
|
IJsonType |
findChild(String name) |
IJsonType |
getComponentType() |
Map<String,IJsonParentType> |
getInnerTypes() |
int |
hashCode() |
JsonListType |
merge(IJsonType that) |
void |
render(AbstractJsonTypeManifold tm,
StringBuilder sb,
int indent,
boolean mutable) |
protected void |
resolveRefsImpl() |
void |
setComponentType(IJsonType compType) |
addActualNameAnnotation, 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, setToken
public JsonListType(String label, manifold.api.fs.IFile source, JsonSchemaType parent, TypeAttributes attr)
protected void resolveRefsImpl()
resolveRefsImpl
in class JsonSchemaType
public void addChild(String name, IJsonParentType type)
public IJsonType getComponentType()
public void setComponentType(IJsonType compType)
public Map<String,IJsonParentType> getInnerTypes()
public JsonListType merge(IJsonType that)
public void render(AbstractJsonTypeManifold tm, StringBuilder sb, int indent, boolean mutable)
public boolean equalsStructurally(IJsonType o)
IJsonType
public boolean equals(Object o)
equals
in class JsonSchemaType
public int hashCode()
hashCode
in class JsonSchemaType
Copyright © 2024. All rights reserved.