public class JsonListType extends JsonSchemaType
| Constructor and Description |
|---|
JsonListType(String label,
URL source,
JsonSchemaType parent) |
| 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() |
String |
getFqn() |
String |
getIdentifier() |
Map<String,IJsonParentType> |
getInnerTypes() |
String |
getLabel() |
String |
getName() |
int |
hashCode() |
void |
render(StringBuilder sb,
int indent,
boolean mutable) |
protected void |
resolveRefsImpl() |
void |
setComponentType(IJsonType compType) |
addIssue, getDefinitions, getFile, getIssues, getParent, isParentRoot, isSchemaType, mergeInnerTypes, resolveRefs, setDefinitions, setJsonSchemapublic JsonListType(String label, URL source, JsonSchemaType parent)
protected void resolveRefsImpl()
resolveRefsImpl in class JsonSchemaTypepublic String getLabel()
getLabel in class JsonSchemaTypepublic String getName()
getName in interface IJsonTypegetName in class JsonSchemaTypepublic String getIdentifier()
getIdentifier in interface IJsonTypegetIdentifier in class JsonSchemaTypepublic String getFqn()
getFqn in class JsonSchemaTypepublic void addChild(String name, IJsonParentType type)
public IJsonType getComponentType()
public void setComponentType(IJsonType compType)
public Map<String,IJsonParentType> getInnerTypes()
public void render(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 © 2018. All rights reserved.