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,
Token token) |
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() |
Token |
getToken() |
int |
hashCode() |
void |
render(StringBuilder sb,
int indent,
boolean mutable) |
void |
setToken(Token token) |
getDefinitions, getFile, getIdentifier, getLabel, getName, getParent, setDefinitions, setFilepublic 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 Token getToken()
public void setToken(Token token)
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.