public class JsonStructureType extends JsonSchemaType
| Constructor and Description |
|---|
JsonStructureType(JsonSchemaType parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(String name,
IJsonParentType type) |
void |
addMember(String name,
IJsonType type) |
void |
addSuper(IJsonParentType superType) |
boolean |
equals(Object o) |
IJsonParentType |
findChild(String name) |
IJsonType |
findMemberType(String name) |
Map<String,IJsonParentType> |
getInnerTypes() |
Map<String,IJsonType> |
getMembers() |
List<IJsonParentType> |
getSuperTypes() |
int |
hashCode() |
void |
render(StringBuilder sb,
int indent,
boolean mutable) |
getDefinitions, getIdentifier, getLabel, getName, getParent, setDefinitionspublic JsonStructureType(JsonSchemaType parent, String name)
public void addSuper(IJsonParentType superType)
public List<IJsonParentType> getSuperTypes()
public void addChild(String name, IJsonParentType type)
public IJsonParentType findChild(String name)
public Map<String,IJsonParentType> getInnerTypes()
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.