com.netgrif.application.engine.workflow.web.responsebodies.DataFieldReference Maven / Gradle / Ivy
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