Plugin

@Entity
class Plugin(var dataID: Long? = null, var description: String = "", var resolver: String = "", var content: String = "", var node: Node? = null)

A Plugin is a generic Model extension part of a Node. A Plugin consists of a description, content and resolver reference. The content can basically contain any string value providing information, presets, image references etc. Plugins can be executable by the modicio engine directly, if an internal resolver is used. However, the client can use custom resolvers and store required information in the Plugin. The resolver will receive the Instance to do any computation based on the Plugin. Note that for scripts / code-based plugins, there is a separate Script model element directly supported by the modicio engine.

Constructors

Link copied to clipboard
constructor()
constructor(dataID: Long? = null, description: String = "", resolver: String = "", content: String = "", node: Node? = null)

Properties

Link copied to clipboard

Arbitrary content of the plugin which is passed to the resolver together with the Node / Instance it is attached to.

Link copied to clipboard
var dataID: Long?

Technical database (JPA) identifier used for relation joins. The dataID is system specific and not exported to XML. It must not be used to identify elements in distributed use-cases. It should not be used to identify elements from outside the service. All model elements provide other suitable identifiers to be used.

Link copied to clipboard

The human-readable description of the plugin.

Link copied to clipboard
var node: Node?

Backlink to Node to improve traversal.

Link copied to clipboard

The resolver is defined by a URI specifying a resolvable interpretation algorithm.

Functions

Link copied to clipboard