All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.petrinet.domain.dataset.MapOptionsField.groovy Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.petrinet.domain.dataset

import com.netgrif.application.engine.petrinet.domain.dataset.logic.action.runner.Expression

abstract class MapOptionsField extends Field {

    protected Map options
    protected Expression optionsExpression

    MapOptionsField() {
        this(new HashMap())
    }

    MapOptionsField(Map options) {
        super()
        this.options = options
    }

    MapOptionsField(Expression expression) {
        super()
        this.optionsExpression = expression
    }

    Map getOptions() {
        return options
    }

    void setOptions(Map options) {
        this.options = options
    }

    Expression getExpression() {
        return optionsExpression
    }

    void setExpression(Expression expression) {
        this.optionsExpression = expression
    }

    boolean isDynamic() {
        return this.optionsExpression != null
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy