public class JsonListType extends JsonSchemaType
FIELD_FILE_URL| Constructor and Description |
|---|
JsonListType(String label,
URL 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, addIssue, addSourcePositionAnnotation, addTypeReferenceAnnotation, copyWithAttributes, getConstituentQn, getConstituentQn, getConstituentQnComponent, getDefinitions, getFile, getFqn, getIdentifier, getIssues, getLabel, getName, getParent, getPropertyType, getPropertyType, getTm, getToken, getTypeAttributes, indent, isCollapsedUnionEnum, isParentRoot, isSchemaType, makeIdentifier, makeMemberIdentifier, makeTypeParameter, mergeInnerTypes, removeGenerics, renderFileField, renderFileField, resolveRefs, setDefinitions, setJsonSchema, setParent, setTm, setTokenpublic JsonListType(String label, URL source, JsonSchemaType parent, TypeAttributes attr)
protected void resolveRefsImpl()
resolveRefsImpl in class JsonSchemaTypepublic 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)
IJsonTypepublic boolean equals(Object o)
equals in class JsonSchemaTypepublic int hashCode()
hashCode in class JsonSchemaTypeCopyright © 2019. All rights reserved.