Class JSONSchema
java.lang.Object
org.apache.unomi.graphql.schema.json.JSONType
org.apache.unomi.graphql.schema.json.JSONSchema
- All Implemented Interfaces:
PluginType
-
Field Summary
Fields inherited from class org.apache.unomi.graphql.schema.json.JSONType
jsonTypeFactory, schemaTree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
long
Retrieves the plugin identifier, corresponding to the identifier of the OSGi bundle implementing the plugin.void
void
setPluginId
(long pluginId) Associates this plugin with its associated OSGi bundle identifier.void
setSchemaId
(String schemaId) void
void
void
setVersion
(String version) Methods inherited from class org.apache.unomi.graphql.schema.json.JSONType
getAllOf, getAnyOf, getCustomKeywords, getJsonTypeFactory, getOneOf, getRef, getSchemaTree, getType, merge, setType
-
Constructor Details
-
JSONSchema
-
-
Method Details
-
getVendor
-
setVendor
-
getName
-
setName
-
getVersion
-
setVersion
-
getPluginId
public long getPluginId()Description copied from interface:PluginType
Retrieves the plugin identifier, corresponding to the identifier of the OSGi bundle implementing the plugin.- Specified by:
getPluginId
in interfacePluginType
- Returns:
- the plugin identifier, corresponding to the identifier of the OSGi bundle implementing the plugin
-
setPluginId
public void setPluginId(long pluginId) Description copied from interface:PluginType
Associates this plugin with its associated OSGi bundle identifier.- Specified by:
setPluginId
in interfacePluginType
- Parameters:
pluginId
- the OSGi bundle identifier associated with this plugin
-
getSchemaId
-
setSchemaId
-
getTarget
-
setTarget
-
getRootTypes
-