Class JSONSchema

java.lang.Object
org.apache.unomi.graphql.schema.json.JSONType
org.apache.unomi.graphql.schema.json.JSONSchema
All Implemented Interfaces:
PluginType

public class JSONSchema extends JSONType implements PluginType
  • Constructor Details

  • Method Details

    • getVendor

      public String getVendor()
    • setVendor

      public void setVendor(String vendor)
    • getName

      public String getName()
      Overrides:
      getName in class JSONType
    • setName

      public void setName(String name)
      Overrides:
      setName in class JSONType
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • 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 interface PluginType
      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 interface PluginType
      Parameters:
      pluginId - the OSGi bundle identifier associated with this plugin
    • getSchemaId

      public String getSchemaId()
    • setSchemaId

      public void setSchemaId(String schemaId)
    • getTarget

      public String getTarget()
    • setTarget

      public void setTarget(String target)
    • getRootTypes

      public List<JSONType> getRootTypes()