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

com.netgrif.application.engine.petrinet.domain.dataset.logic.ChangedFieldByFileFieldContainer.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.logic

class ChangedFieldByFileFieldContainer extends ChangedFieldContainer {

    private Map> changedFields
    private boolean isSave

    ChangedFieldByFileFieldContainer() {
        this.changedFields = new HashMap<>()
        this.isSave = false
    }

    ChangedFieldByFileFieldContainer(boolean isSave) {
        this.changedFields = new HashMap<>()
        this.isSave = isSave
    }

    ChangedFieldByFileFieldContainer(ChangedFieldContainer container, boolean isSave) {
        this.changedFields = container.getChangedFields()
        this.isSave = isSave
    }

    void putAll(Map changed) {
        changed.each { key, field -> changedFields.put(field.id, field.attributes) }
    }

    Map> getChangedFields() {
        return changedFields
    }

    boolean getIsSave() {
        return isSave
    }

    void setIsSave(boolean isSave) {
        this.isSave = isSave
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy