Class JSONType
- java.lang.Object
-
- org.apache.unomi.graphql.schema.json.JSONType
-
- Direct Known Subclasses:
JSONArrayType
,JSONBooleanType
,JSONEnumType
,JSONIntegerType
,JSONNullType
,JSONNumberType
,JSONObjectType
,JSONSchema
,JSONStringType
public class JSONType extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected JSONTypeFactory
jsonTypeFactory
protected Map<String,Object>
schemaTree
-
Constructor Summary
Constructors Constructor Description JSONType(Map<String,Object> schemaTree, JSONTypeFactory jsonTypeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JSONType>
getAllOf()
List<JSONType>
getAnyOf()
Map<String,Object>
getCustomKeywords()
JSONTypeFactory
getJsonTypeFactory()
String
getName()
List<JSONType>
getOneOf()
String
getRef()
Map<String,Object>
getSchemaTree()
String
getType()
boolean
merge(JSONType anotherType)
void
setName(String name)
void
setType(String type)
-
-
-
Field Detail
-
jsonTypeFactory
protected JSONTypeFactory jsonTypeFactory
-
-
Constructor Detail
-
JSONType
public JSONType(Map<String,Object> schemaTree, JSONTypeFactory jsonTypeFactory)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getJsonTypeFactory
public JSONTypeFactory getJsonTypeFactory()
-
getRef
public String getRef()
-
merge
public boolean merge(JSONType anotherType)
-
-