public class JsonStructureType extends JsonSchemaType
| Constructor and Description |
|---|
JsonStructureType(JsonSchemaType parent,
URL source,
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) |
IJsonType |
findChild(String name) |
IJsonType |
findMemberType(String name) |
String |
getFqn() |
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) |
String |
toString() |
addIssue, getDefinitions, getFile, getIdentifier, getIssues, getLabel, getName, getParent, isParentRoot, mergeInnerTypes, setDefinitionspublic JsonStructureType(JsonSchemaType parent, URL source, String name)
public String getFqn()
getFqn in class JsonSchemaTypepublic void addSuper(IJsonParentType superType)
public List<IJsonParentType> getSuperTypes()
public void addChild(String name, IJsonParentType type)
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 © 2018. All rights reserved.