Class JSONSchema
- java.lang.Object
-
- org.apache.unomi.graphql.schema.json.JSONType
-
- org.apache.unomi.graphql.schema.json.JSONSchema
-
- All Implemented Interfaces:
org.apache.unomi.api.PluginType
public class JSONSchema extends JSONType implements org.apache.unomi.api.PluginType
-
-
Field Summary
-
Fields inherited from class org.apache.unomi.graphql.schema.json.JSONType
jsonTypeFactory, schemaTree
-
-
Constructor Summary
Constructors Constructor Description JSONSchema(Map<String,Object> schemaTree, JSONTypeFactory jsonTypeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()longgetPluginId()List<JSONType>getRootTypes()StringgetSchemaId()StringgetTarget()StringgetVendor()StringgetVersion()voidsetName(String name)voidsetPluginId(long pluginId)voidsetSchemaId(String schemaId)voidsetTarget(String target)voidsetVendor(String vendor)voidsetVersion(String version)-
Methods inherited from class org.apache.unomi.graphql.schema.json.JSONType
getAllOf, getAnyOf, getCustomKeywords, getJsonTypeFactory, getOneOf, getRef, getSchemaTree, getType, merge, setType
-
-
-
-
Constructor Detail
-
JSONSchema
public JSONSchema(Map<String,Object> schemaTree, JSONTypeFactory jsonTypeFactory)
-
-
Method Detail
-
getVendor
public String getVendor()
-
setVendor
public void setVendor(String vendor)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getPluginId
public long getPluginId()
- Specified by:
getPluginIdin interfaceorg.apache.unomi.api.PluginType
-
setPluginId
public void setPluginId(long pluginId)
- Specified by:
setPluginIdin interfaceorg.apache.unomi.api.PluginType
-
getSchemaId
public String getSchemaId()
-
setSchemaId
public void setSchemaId(String schemaId)
-
getTarget
public String getTarget()
-
setTarget
public void setTarget(String target)
-
-