public class JsonListType extends JsonSchemaType
| Constructor and Description |
|---|
JsonListType(String label,
JsonSchemaType parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(String name,
IJsonParentType type) |
boolean |
equals(Object o) |
IJsonParentType |
findChild(String name) |
IJsonType |
getComponentType() |
String |
getIdentifier() |
Map<String,IJsonParentType> |
getInnerTypes() |
String |
getLabel() |
String |
getName() |
int |
hashCode() |
IJsonType |
merge(JsonListType other) |
void |
render(StringBuilder sb,
int indent,
boolean mutable) |
void |
setComponentType(IJsonType compType) |
getDefinitions, getParent, setDefinitionspublic JsonListType(String label, JsonSchemaType parent)
public String getLabel()
getLabel in class JsonSchemaTypepublic String getName()
getName in interface IJsonTypegetName in class JsonSchemaTypepublic String getIdentifier()
getIdentifier in interface IJsonTypegetIdentifier in class JsonSchemaTypepublic void addChild(String name, IJsonParentType type)
public IJsonParentType findChild(String name)
public IJsonType getComponentType()
public void setComponentType(IJsonType compType)
public Map<String,IJsonParentType> getInnerTypes()
public IJsonType merge(JsonListType other)
public void render(StringBuilder sb, int indent, boolean mutable)
public boolean equals(Object o)
equals in class JsonSchemaTypepublic int hashCode()
hashCode in class JsonSchemaTypeCopyright © 2017. All rights reserved.