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

com.netgrif.application.engine.workflow.web.responsebodies.DataFieldReference Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.4.0
Show newest version
package com.netgrif.application.engine.workflow.web.responsebodies;

import com.netgrif.application.engine.petrinet.domain.dataset.Field;
import com.netgrif.application.engine.petrinet.web.responsebodies.Reference;
import lombok.Data;

import java.util.Locale;

@Data
public class DataFieldReference extends Reference {

    private String type;

    public DataFieldReference() {
        super();
    }

    public DataFieldReference(String stringId, String title, String type) {
        super(stringId, title);
        this.type = type;
    }

    public DataFieldReference(Field field, Locale locale) {
        this(field.getStringId(), field.getTranslatedName(locale), field.getType().getName());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy