Script

@Entity
class Script(var dataID: Long? = null, var uri: String = "", var name: String = "", var actionType: String = "", var resolver: String = "", var anyValue: String = "", var node: Node? = null)

A script is a special kind of Plugin to hold executable code. This code is directly executed by the modicio engine and can be specified by the modeller.

As of right now, Scripts are a planned concept and no particular realization is considered yet.

Constructors

Link copied to clipboard
constructor()
constructor(dataID: Long? = null, uri: String = "", name: String = "", actionType: String = "", resolver: String = "", anyValue: String = "", node: Node? = null)

Properties

Link copied to clipboard

The action type is a further specification of the action behaviour. Details have to be specified during further implementation.

Link copied to clipboard

The script's content which is interpreted by the resolver.

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 name of the Script to be identifiable by a human client. The name should be unique in the scope of the owning Node.

Link copied to clipboard
var node: Node?

Backlink for faster traversal.

Link copied to clipboard

The resolver is defined by a URI specifying a resolvable interpretation algorithm. For the default modicio DSL, a valid modicio URI pointing to the desired language version must be used. A modicio URI is defined as a "xs:anyURI" base with the schema extension "modicio:.*"

Link copied to clipboard
var uri: String

The URI uniquely identifying the Script in the scope of its Model. A modicio URI is defined as a "xs:anyURI" base with the schema extension "modicio:.*"

Functions

Link copied to clipboard